Hi,

I’m experimenting with JSON-LD and I have this in a named graph:

{
  "@graph": [{
    "@id": "http://example.org/library";,
    "@type": "Library",
    "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

Reply via email to