A possible extension to the xtypes vocabulary to include JSON-LD.
Created
July 2, 2014 20:59
-
-
Save bollwyvl/be3312c8a4d3ed0b6f59 to your computer and use it in GitHub Desktop.
JSON-LD (in JSON-LD) for xtypes
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": { | |
"xtypes": "http://purl.org/xtypes/", | |
"foaf": "http://xmlns.com/foaf/0.1/", | |
"rdfs": "http://www.w3.org/2000/01/rdf-schema#", | |
"owl": "http://www.w3.org/2002/07/owl#", | |
"dcterms": "http://purl.org/dc/terms/", | |
"label": "rdfs:label", | |
"subClassOf": { | |
"@type": "@id", | |
"@id": "rdfs:subClassOf" | |
}, | |
"format": "dcterms:format", | |
"defines": { | |
"@reverse": "rdfs:isDefinedBy" | |
}, | |
"sameAs": { | |
"@type": "@id", | |
"@id": "owl:sameAs" | |
} | |
}, | |
"@id": "xtypes:", | |
"defines": [ | |
{ | |
"@id": "xtypes:Format-JSONLD", | |
"@type": "dcterms:MediaType", | |
"label": "RDF in JSON-LD Format", | |
"xtypes:hasFileExtension": ".jsonld", | |
"xtypes:hasMimeType": "application/ld+json", | |
"sameAs": "http://www.w3.org/ns/formats/JSON-LD", | |
"subClassOf": "xtypes:Format" | |
}, | |
{ | |
"@id": "xtypes:Fragment-JSONLD", | |
"@type": "rdfs:Datatype", | |
"label": "RDF in JSON-LD Fragment", | |
"format": "xtypes:Format-JSONLD", | |
"subClassOf": [ | |
"xtypes:Fragment-JSON", | |
"xtypes:Fragment-RDFSerialisation" | |
] | |
}, | |
{ | |
"@id": "xtypes:Document-JSONLD", | |
"@type": "rdfs:Class", | |
"label": "RDF in JSON-LD Document", | |
"format": "xtypes:Format-JSONLD", | |
"subClassOf": [ | |
"xtypes:Document", | |
"xtypes:Document-RDFSerialisation" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment