Stefan,
Try the data at
http://json-ld.org/playground/
Without a @context, I don't think you'll get many triples.
Andy
On 24/04/17 22:09, Dimov, Stefan wrote:
Hi,
I’m experimenting with JSON-LD and I have this in a named graph:
{
"@graph": [{
"@id": "http://example.org/library",
"@type": "Library",
^^^^^^^^ relative URI.
"contains": {
"@id": "http://example.org/library/the-republic",
"@type": "Book",
"contains": {
"@id": "http://example.org/library/the-republic#introduction",
"@type": "Chapter",
"description": "An introductory chapter on The Republic.",
"title": "The Introduction"
},
"creator": "Plato",
"title": "The Republic"
}
}]
}
What should be the SPARQL request that will return me the whole object by id
“http://example.org/library” ?
Stefan