Skip to content

Instantly share code, notes, and snippets.

@adamml
Created April 15, 2014 08:14
Show Gist options
  • Save adamml/10712933 to your computer and use it in GitHub Desktop.
Save adamml/10712933 to your computer and use it in GitHub Desktop.
A proposal for WMO C3 code list format to be served from the NVS - note the SKOS XML and JSON-LD mix
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:void="http://rdfs.org/ns/void#">
<skos:Concept rdf:about="http://vocab.nerc.ac.uk/collection/W03/current/001/">
<skos:prefLabel xml:lang="en">Sippican T-4</skos:prefLabel>
<skos:altLabel xml:lang="en" />
<skos:definition xml:lang="en">
{
"@context":
{
"wmoc_No": "http://codes.wmo.int/common/schema/core/No",
"wmoc_Status":
{
"@id": "http://codes.wmo.int/common/schema/core/Status",
"@type": "@id"
},
"ssn_equation_a":
{
"@id": "http://purl.oclc.org/NET/ssnx/ssn/measurementProperty",
"@type": "http://vocab.nerc.ac.uk/datatypes/dataytpes.xml#eqCoeffA"
},
"ssn_equation_b":
{
"@id": "http://purl.oclc.org/NET/ssnx/ssn/measurementProperty",
"@type": "http://vocab.nerc.ac.uk/datatypes/dataytpes.xml#eqCoeffB"
}
},
"@id": "http://vocab.nerc.ac.uk/collection/W03/current/001/",
"wmoc_No": 1,
"wmoc_Status": "http://codes.wmo.int/common/schema/core/statusOperational",
"ssn_equation_a": 6.691,
"ssn_equation_b": -2.25
}
</skos:definition>
<dc:identifier>SDN:W03::001</dc:identifier>
<skos:notation>SDN:W03::001</skos:notation>
<owl:versionInfo>0</owl:versionInfo>
<dc:date>2014-04-15 08:41:00.0</dc:date>
<skos:note xml:lang="en">accepted</skos:note>
<owl:deprecated>false</owl:deprecated>
<void:inDataset rdf:resource="http://vocab.nerc.ac.uk/.well-known/void"/>
</skos:Concept>
</rdf:RDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment