You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use rdflib a while and used to serialize data to rdf/xml. There are multiple toplevel graphs in our data, like it is shown in below. There are two "<rdf:Description rdf:about=…/>" in the data set…
When we try to serialize the same graph to json-ld using rdflib-jsonld serializer, the top-level graphs are serialized as “@id” : [ {…} , {…}]
I try this out from the jsonld playground http://json-ld.org/playground/ and it complains that there is syntax error.
{"name":"jsonld.CompactError","message":"Could not expand input before compaction.","details":{"cause":{"name":"jsonld.SyntaxError","message":"Invalid JSON-LD syntax; "@id" value must a string.","details":{}}}}
So is this the bug in jsonld.js or the rdflib-jsonld ?
We use rdflib a while and used to serialize data to rdf/xml. There are multiple toplevel graphs in our data, like it is shown in below. There are two "
<rdf:Description rdf:about=…/>
" in the data set…When we try to serialize the same graph to json-ld using rdflib-jsonld serializer, the top-level graphs are serialized as “@id” : [ {…} , {…}]
I try this out from the jsonld playground http://json-ld.org/playground/ and it complains that there is syntax error.
{"name":"jsonld.CompactError","message":"Could not expand input before compaction.","details":{"cause":{"name":"jsonld.SyntaxError","message":"Invalid JSON-LD syntax; "@id" value must a string.","details":{}}}}
So is this the bug in jsonld.js or the rdflib-jsonld ?
The text was updated successfully, but these errors were encountered: