Skip to content

Instantly share code, notes, and snippets.

Created April 27, 2015 18:11
Show Gist options
  • Save anonymous/3de2c53e0f76c33804a2 to your computer and use it in GitHub Desktop.
Save anonymous/3de2c53e0f76c33804a2 to your computer and use it in GitHub Desktop.
JSON-LD Playground:

This gist was automatically created by the JSON-LD Playground. You can see it loaded there by visiting:

http://json-ld.org/playground#/gist/<gist id>
{
"@context": {
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"relators": "http://id.loc.gov/vocabulary/relators/",
"schema": "http://schema.org/",
"viaf": "http://viaf.org/viaf/",
"xsd": "http://www.w3.org/2001/XMLSchema#"
},
"@type": "schema:Book"
}
{
"@context": {
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"relators": "http://id.loc.gov/vocabulary/relators/",
"schema": "http://schema.org/",
"viaf": "http://viaf.org/viaf/",
"xsd": "http://www.w3.org/2001/XMLSchema#"
},
"@graph": [
{
"@id": "http://www.worldcat.org/oclc/859406554",
"@type": "schema:Book",
"schema:author": {
"@id": "viaf:305830120"
},
"schema:contributor": {
"@id": "_:ub11bL7C24"
},
"schema:name": "How to be orange : an alternative Dutch assimilation course"
},
{
"@id": "_:ub11bL7C24",
"@type": "schema:Role",
"schema:contributor": {
"@id": "viaf:283191359"
},
"schema:roleName": {
"@id": "relators:wpr"
}
}
]
}
{
"@context": {
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"playground": "http://json-ld.org/playground#",
"description": "rdfs:label",
"startTab": "playground:startTab",
"copyContext": "playground:copyContext",
"markup": {
"@id": "playground:markup",
"@type": "@id"
},
"context": {
"@id": "playground:context",
"@type": "@id"
},
"frame": {
"@id": "playground:frame",
"@type": "@id"
}
},
"description": "",
"startTab": "tab-framed",
"copyContext": false,
"markup": "./markup.jsonld",
"frame": "./frame.jsonld"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment