-
-
Save hubgit/0597fb877b6446d3c4758635c7d9aa4d to your computer and use it in GitHub Desktop.
JSON-LD Playground:
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
{ | |
"@type": "http://example.org/vocab#Library" | |
} |
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#", | |
"xsd": "http://www.w3.org/2001/XMLSchema#", | |
"ex:contains": { | |
"@type": "@id" | |
} | |
}, | |
"@graph": [ | |
{ | |
"@id": "http://example.org/library", | |
"@type": "ex:Library", | |
"ex:contains": "http://example.org/library/the-republic" | |
}, | |
{ | |
"@id": "http://example.org/library/the-republic", | |
"@type": "ex:Book", | |
"dc:creator": "Plato", | |
"dc:title": "The Republic", | |
"ex:contains": "http://example.org/library/the-republic#introduction" | |
}, | |
{ | |
"@id": "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": { | |
"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