Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
jsonld data
{
"@context": {
"@coerce": {
"ex:contains": "@iri"
},
"dc": "http://purl.org/dc/elements/1.1/",
"ex": "http://example.org/vocab#",
"xsd": "http://www.w3.org/2001/XMLSchema#"
},
"@subject": [
{
"@subject": "http://example.org/library3",
"@type": "ex:Library",
"ex:contains": "http://example.org/library/the-republic"
},
{
"@subject": "http://example.org/library2",
"@type": "ex:Library",
"ex:contains": "http://example.org/library/the-republic"
},
{
"@subject": "http://example.org/library0",
"@type": "ex:Library",
"ex:contains": [
"http://example.org/library/alice-in-wonderland", "http://example.org/library/the-republic"]
},
{
"@subject": "http://example.org/library/alice-in-wonderland",
"@type": ["ex:Book"],
"dc:creator": "Carroll",
"dc:title": "Alice in Wonderland"
},
{
"@subject": "http://example.org/library/the-republic",
"@type": ["ex:Book", "ex:Tome"],
"dc:creator": "Plato",
"dc:title": "The Republic",
"ex:contains": "http://example.org/library/the-republic#introduction"
}, {
"@subject": "http://example.org/library/the-republic#introduction",
"@type": "ex:Chapter",
"dc:description": "An introductory chapter on The Republic.",
"dc:title": "The Introduction"
}]
}
[
{
"@context": {
"dc": "http://purl.org/dc/elements/1.1/",
"ex": "http://example.org/vocab#"
},
"@type": "ex:Book"
}, {
"@context": {
"dc": "http://purl.org/dc/elements/1.1/",
"ex": "http://example.org/vocab#"
},
"@type": "ex:Library",
"ex:contains": [
{
"@type": "ex:Book",
"@embed": true
}]
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.