Created
November 9, 2011 01:30
-
-
Save jmandel/1350019 to your computer and use it in GitHub Desktop.
jsonld data
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
{ | |
"@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" | |
}] | |
} |
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
[ | |
{ | |
"@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