Last active
April 26, 2023 16:52
-
-
Save justin2004/d87995124e1cc44df5072181ecacc526 to your computer and use it in GitHub Desktop.
Stardog -- remote jsonld context bug?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
justin@parens:/tmp$ cat a.json | |
{ "@context":"http://18.221.230.193:9090/some.json", | |
"title": "the world according to garp", | |
"writer":"john irving", | |
"ical:date": "some date here", | |
"@type":"book" | |
} | |
justin@parens:/tmp$ curl 'http://18.221.230.193:9090/some.json' | |
{ | |
"@context": { | |
"ical": "http://www.w3.org/2002/12/cal/ical#", | |
"xsd": "http://www.w3.org/2001/XMLSchema#", | |
"title": { | |
"@id": "ical:title", | |
"@type": "xsd:string" | |
}, | |
"writer": { | |
"@id": "http://www.w3.org/2002/12/cal/ical#writer", | |
"@type": "xsd:string" | |
} | |
} | |
} | |
justin@parens:/tmp$ ~/Downloads/apache-jena-4.7.0/bin/riot --syntax=jsonld --formatted=turtle a.json | |
[ a <file:///tmp/book> ; | |
<http://www.w3.org/2002/12/cal/ical#date> | |
"some date here" ; | |
<http://www.w3.org/2002/12/cal/ical#title> | |
"the world according to garp" ; | |
<http://www.w3.org/2002/12/cal/ical#writer> | |
"john irving" | |
] . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_:b0 a <http://api.stardog.com/book> ; | |
<ical:date> "some date here" . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment