⇐ ⇒

[CF-metadata] Extensions to the Standard Name table

From: Lowry, Roy K. <rkl>
Date: Fri, 19 Oct 2012 12:30:42 +0100

Dear All,

Martin Schultz was proposing an extension to the Standard Name table to provide a means of easily identifying the Standard Names associated with a given atmospheric contaminant. What follows provides an alternative way to address his use case. Go to the URL http://vocab.nerc.ac.uk/sparql/ and copy the SPARQL query at the end of this message into the box, choose your output format and press 'Get Results'. If you don't want 'carbon monoxide' simply replace 'Carbon monoxide' by another valid EEA contaminant name.

For the techies on the list, this is done by a federated SPARQL query involving SPARQL endpoints on vocabulary servers at BODC and the EEA. This is based on string matching, but could be made more robust by implementing an EEA/Standard Names mapping in NVS should this be requested by the CF community.

Cheers, Roy.


PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX j.0: <http://rdfdata.eionet.europa.eu/airbase/schema/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?urie ?labele ?urin ?labeln WHERE
{
  BIND("Carbon monoxide" AS ?pollutant)
  SERVICE<http://cr.eionet.europa.eu/sparql>
  {
    ?urie skos:inScheme <http://rdfdata.eionet.europa.eu/airquality/components/>.
    ?urie skos:prefLabel ?labele.
    ?urie j.0:pollutant ?pollutant.
  }.
  <http://vocab.nerc.ac.uk/collection/P07/current/> skos:member ?urin.
  ?urin skos:prefLabel ?labeln.
  ?urin skos:definition ?defn.
  FILTER CONTAINS (str(lcase(?defn)),str(lcase(?pollutant)))
}



Please note that I now work part-time from Tuesday to Thursday. E-mail response on other days is possible but not guaranteed!



-- 
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20121019/b7ec509d/attachment-0001.html>
Received on Fri Oct 19 2012 - 05:30:42 BST

This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:41 BST

⇐ ⇒