Skip to content

Instantly share code, notes, and snippets.

@adamml
Last active November 10, 2017 01:07
Show Gist options
  • Save adamml/70301bb8e913eea17b16ff01349b2c0b to your computer and use it in GitHub Desktop.
Save adamml/70301bb8e913eea17b16ff01349b2c0b to your computer and use it in GitHub Desktop.
Casting a SKOS Concept to Schema.org
{
"@context": "http://schema.org",
"@type": "Thing",
"identifier": {
"@id": "http://vocab.nerc.ac.uk/collection/L05/current/134/",
"@type": ["PropertyValue", "CreativeWork"],
"name": "water temperature sensor",
"value": "water temperature sensor",
"description": "An instrument that measures the temperature of the water with which it is in contact.",
"alternateName": "",
"identifier": {
"@type": "PropertyValue",
"propertyID": [
"http://purl.org/dc/terms/identifier",
"http://purl.org/dc/elements/1.1/identifier",
"http://www.w3.org/2004/02/skos/core#notation"
],
"name": "SDN:L05::134",
"value": "SDN:L05::134"
},
"url": "http://vocab.nerc.ac.uk/collection/L05/current/134/",
"sameAs": "http://vocab.nerc.ac.uk/collection/L05/current/134/",
"valueReference": [{
"@type": "PropertyValue",
"propertyID": "http://www.w3.org/2004/02/skos/core#note",
"value": "Accepted"
},
{
"@type": "PropertyValue",
"propertyID": "http://www.w3.org/2002/07/owl#deprecated",
"value": "False"
},
{
"@type": "PropertyValue",
"propertyID": "http://www.w3.org/2004/02/skos/core#broader",
"value": "http://vocab.nerc.ac.uk/collection/L21/current/ICAT04/"
},
{
"@type": "PropertyValue",
"propertyID": "http://www.w3.org/2004/02/skos/core#narrower",
"value": "http://vocab.nerc.ac.uk/collection/C77/current/H13/"
},
{
"@type": "PropertyValue",
"propertyID": "http://www.w3.org/2004/02/skos/core#narrower",
"value": "http://vocab.nerc.ac.uk/collection/C77/current/H72/"
},
{
"@type": "PropertyValue",
"propertyID": "http://rdfs.org/ns/void#inDataset",
"value": "http://vocab.nerc.ac.uk/.well-known/void"
}],
"additionalType": "http://www.w3.org/2004/02/skos/core#Concept",
"dateModified": "2013-02-26 17:11:07.0",
"version": 3
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment