Hi,
following JSON-LD insert gives error in Jena
{
"dc:identifier": "1234",
"dcterms:subject": [
{ "@id": "https://finto.fi/koko/fi/page/p57158" },
{ "@id": "https://finto.fi/koko/fi/page/p57159" }
],
"@context": {
"dc": "http://purl.org/dc/elements/1.1/",
"dcterms": "http://purl.org/dc/terms/"
}
}
Error 500: Parse error: [line: 5, col: 8 ] Unexpected character (':'
(code 58)): was expecting comma to separate Array entries
So in this case putting several links to dcterms:subject can't be done?
Is only way to handle this to describe datatypes in @context section? Is
it possible to do automatically somehow, since Dublin Core is a well
defined schema (at least should be).
{
"dc:identifier": "1234",
"dcterms:subject": [
"https://finto.fi/koko/fi/page/p57158" ,
"https://finto.fi/koko/fi/page/p57159"
],
"@context": {
"dc": "http://purl.org/dc/elements/1.1/",
"dcterms": "http://purl.org/dc/terms/"
... add datatype descriptions for dcterms:subject here
}
}
Thanks
--
Lingsoft - 30 years of Leading Language Management
www.lingsoft.fi
Speech Applications - Language Management - Translation - Reader's and Writer's
Tools - Text Tools - E-books and M-books
Mikael Pesonen
System Engineer
e-mail: [email protected]
Tel. +358 2 279 3300
Time zone: GMT+2
Helsinki Office
Eteläranta 10
FI-00130 Helsinki
FINLAND
Turku Office
Kauppiaskatu 5 A
FI-20100 Turku
FINLAND