Skip to content

Instantly share code, notes, and snippets.

@adamml
Last active July 14, 2016 11:21
Show Gist options
  • Save adamml/be30ad60fd9c76e581949eb08bb59736 to your computer and use it in GitHub Desktop.
Save adamml/be30ad60fd9c76e581949eb08bb59736 to your computer and use it in GitHub Desktop.
EMODnet chemistry mappings from the NERC Vocabulary Server
PREFIX skos:<http://www.w3.org/2004/02/skos/core#>
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?P36 ?P35 ?P01 ?P03
WHERE {
<http://vocab.nerc.ac.uk/collection/P36/current/> rdf:type skos:Collection.
<http://vocab.nerc.ac.uk/collection/P36/current/> ?o ?p.
?s skos:member ?p.
?p skos:prefLabel ?P36.
?p skos:narrower ?c.
<http://vocab.nerc.ac.uk/collection/P35/current/> skos:member ?c.
?c skos:prefLabel ?P35.
?c skos:narrower ?d.
<http://vocab.nerc.ac.uk/collection/P01/current/> skos:member ?d.
?d skos:prefLabel ?P01.
?d skos:broader ?f.
<http://vocab.nerc.ac.uk/collection/P02/current/> skos:member ?f.
?f skos:broader ?g.
<http://vocab.nerc.ac.uk/collection/P03/current/> skos:member ?g.
?g skos:prefLabel ?P03
}
order by ?P36 ?P35 ?P01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment