UMBEL URI Dereferencing

All URIs in the UMBEL reference concept structure (concepts + vocabulary) are dereferencable on the web. Dereferencing means you can get a lookup on the Web for the description of the reference concept resource. Any subsequent system or agent that gets the link to an UMBEL reference concept can then determine the meaning of that concept via this dereferencing.

A UMBEL reference concept URI looks like: http://umbel.org/umbel/rc/Person

Using a HTTP GET method, the Web server that handles the derefencing of the URIs is able to do content negotiation and return 4 different representations using the following mime types:

  • */*: return the N-Triples serialization of the resultset
  • text/plain: return the N-Triples serialization of the resultset
  • application/rdf+n3: return the N-Triples serialization of the resultset
  • application/rdf+xml: return the RDF+XML serialization of the resultset
  • application/json: return the structJSON serialization of the resultset
  • application/iron+json: return the structJSON serialization of the resultset
  • application/*: return the structJSON serialization of the resultset
  • application/clojure: return a Clojure map structure.
  • text/html: return a HTML page.

Serializations Examples

 
Derefencing the http://umbel.org/umbel/rc/Coffee_Ground to get N-Triples code:
 
  curl -H "Accept: application/rdf+n3" http://umbel.org/umbel/rc/Coffee_Ground
 

Will result in:

 
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://purl.org/ontology/umbel#superClassOf> <http://www.w3.org/2004/02/skos/core#Collection> .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://purl.org/ontology/umbel#superClassOf> <http://www.w3.org/2004/02/skos/core#ConceptScheme> .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://purl.org/ontology/umbel#superClassOf> <http://www.w3.org/2004/02/skos/core#OrderedCollection> .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://www.w3.org/2004/02/skos/core#altLabel> """coffee""" .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://www.w3.org/2004/02/skos/core#definition> """Quantities of coffee grinds.""" .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subClassOf> <http://umbel.org/umbel/rc/Granular> .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subClassOf> <http://umbel.org/umbel/rc/PlantProduct> .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subClassOf> <http://umbel.org/umbel/rc/FoodIngredientOnly> .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://purl.org/dc/terms/isPartOf> <http://vanilla.opensemanticframework.org/datasets/umbel/> .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://umbel.org/umbel#RefConcept> .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#NamedIndividual> .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://www.w3.org/2004/02/skos/core#prefLabel> """ground coffee""" .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://www.w3.org/2004/02/skos/core#broaderTransitive> <http://umbel.org/umbel/rc/Granular> .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://www.w3.org/2004/02/skos/core#broaderTransitive> <http://umbel.org/umbel/rc/PlantProduct> .
  <http://umbel.org/umbel/rc/Coffee_Ground> <http://www.w3.org/2004/02/skos/core#broaderTransitive> <http://umbel.org/umbel/rc/FoodIngredientOnly> .          
          
 
Derefencing the http://umbel.org/umbel/rc/Coffee_Ground to get RDF+XML code:
 
  curl -H "Accept: application/rdf+xml" http://umbel.org/umbel/rc/Coffee_Ground
 

Will result in:

 
  <?xml version="1.0" encoding="utf-8" ?>

  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:altLabel xmlns:pred="http://www.w3.org/2004/02/skos/core#">coffee</pred:altLabel></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:definition xmlns:pred="http://www.w3.org/2004/02/skos/core#">Quantities of coffee grinds.</pred:description></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:prefLabel xmlns:pred="http://www.w3.org/2004/02/skos/core#">ground coffee</pred:prefLabel></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:superClassOf xmlns:pred="http://purl.org/ontology/umbel#" rdf:resource="http://www.w3.org/2004/02/skos/core#Collection" /></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:superClassOf xmlns:pred="http://purl.org/ontology/umbel#" rdf:resource="http://www.w3.org/2004/02/skos/core#ConceptScheme" /></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:superClassOf xmlns:pred="http://purl.org/ontology/umbel#" rdf:resource="http://www.w3.org/2004/02/skos/core#OrderedCollection" /></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:subClassOf xmlns:pred="http://www.w3.org/TR/rdf-schema#" rdf:resource="http://umbel.org/umbel/rc/Granular" /></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:subClassOf xmlns:pred="http://www.w3.org/TR/rdf-schema#" rdf:resource="http://umbel.org/umbel/rc/PlantProduct" /></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:subClassOf xmlns:pred="http://www.w3.org/TR/rdf-schema#" rdf:resource="http://umbel.org/umbel/rc/FoodIngredientOnly" /></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:broaderTransitive xmlns:pred="http://www.w3.org/2004/02/skos/core#" rdf:resource="http://umbel.org/umbel/rc/Granular" /></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:broaderTransitive xmlns:pred="http://www.w3.org/2004/02/skos/core#" rdf:resource="http://umbel.org/umbel/rc/PlantProduct" /></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:broaderTransitive xmlns:pred="http://www.w3.org/2004/02/skos/core#" rdf:resource="http://umbel.org/umbel/rc/FoodIngredientOnly" /></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:type xmlns:pred="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:resource="http://www.w3.org/2002/07/owl#Class" /></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:type xmlns:pred="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:resource="http://umbel.org/umbel#RefConcept" /></rdf:Description>
  <rdf:Description rdf:about="http://umbel.org/umbel/rc/Coffee_Ground"><pred:type xmlns:pred="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:resource="http://www.w3.org/2002/07/owl#NamedIndividual" /></rdf:Description>
  </rdf:RDF>          
          
 
Derefencing the http://umbel.org/umbel/rc/Coffee_Ground to get structJSON code:
 
  curl -H "Accept: application/iron+json" http://umbel.org/umbel/rc/Coffee_Ground
 

Will result in:

 
  {
      "prefixes": {},
      "resultset": {
          "subject": [
              {
                  "uri": "http://umbel.org/umbel/rc/Coffee_Ground",
                  "predicate": [
                      {
                          "http://www.w3.org/2004/02/skos/core#altLabel": "coffee"
                      },
                      {
                          "http://www.w3.org/2004/02/skos/core#definition": "Quantities of coffee grinds."
                      },
                      {
                          "http://www.w3.org/2004/02/skos/core#prefLabel": "ground coffee"
                      },
                      {
                          "http://purl.org/ontology/umbel#superClassOf": {
                              "uri": "http://www.w3.org/2004/02/skos/core#Collection"
                          }
                      },
                      {
                          "http://purl.org/ontology/umbel#superClassOf": {
                              "uri": "http://www.w3.org/2004/02/skos/core#ConceptScheme"
                          }
                      },
                      {
                          "http://purl.org/ontology/umbel#superClassOf": {
                              "uri": "http://www.w3.org/2004/02/skos/core#OrderedCollection"
                          }
                      },
                      {
                          "http://www.w3.org/TR/rdf-schema#subClassOf": {
                              "uri": "http://umbel.org/umbel/rc/Granular",
                              "reify": [
                                  {
                                      "type": "iron:prefLabel",
                                      "value": "granular thing"
                                  }
                              ]
                          }
                      },
                      {
                          "http://www.w3.org/TR/rdf-schema#subClassOf": {
                              "uri": "http://umbel.org/umbel/rc/PlantProduct",
                              "reify": [
                                  {
                                      "type": "iron:prefLabel",
                                      "value": "plant product"
                                  }
                              ]
                          }
                      },
                      {
                          "http://www.w3.org/TR/rdf-schema#subClassOf": {
                              "uri": "http://umbel.org/umbel/rc/FoodIngredientOnly",
                              "reify": [
                                  {
                                      "type": "iron:prefLabel",
                                      "value": "food ingredient"
                                  }
                              ]
                          }
                      },
                      {
                          "http://www.w3.org/2004/02/skos/core#broaderTransitive": {
                              "uri": "http://umbel.org/umbel/rc/Granular",
                              "reify": [
                                  {
                                      "type": "iron:prefLabel",
                                      "value": "granular thing"
                                  }
                              ]
                          }
                      },
                      {
                          "http://www.w3.org/2004/02/skos/core#broaderTransitive": {
                              "uri": "http://umbel.org/umbel/rc/PlantProduct",
                              "reify": [
                                  {
                                      "type": "iron:prefLabel",
                                      "value": "plant product"
                                  }
                              ]
                          }
                      },
                      {
                          "http://www.w3.org/2004/02/skos/core#broaderTransitive": {
                              "uri": "http://umbel.org/umbel/rc/FoodIngredientOnly",
                              "reify": [
                                  {
                                      "type": "iron:prefLabel",
                                      "value": "food ingredient"
                                  }
                              ]
                          }
                      },
                      {
                          "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {
                              "uri": "http://www.w3.org/2002/07/owl#Class"
                          }
                      },
                      {
                          "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {
                              "uri": "http://umbel.org/umbel#RefConcept"
                          }
                      },
                      {
                          "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {
                              "uri": "http://www.w3.org/2002/07/owl#NamedIndividual"
                          }
                      }
                  ]
              }
          ]
      }
  }          
          
 
Derefencing the http://umbel.org/umbel/rc/Coffee_Ground to get Clojure code:
 
  curl -H "Accept: application/clojure" http://umbel.org/umbel/rc/Coffee_Ground
 

Will result in:

 
  {#'rdf.core/uri "http://umbel.org/umbel/rc/Coffee_Ground"
   #'iron:alt-label ["coffee"]
   #'iron:description ["Quantities of coffee grinds."]
   #'iron:pref-label ["ground coffee"]
   #'umbel:super-class-of ["http://www.w3.org/2004/02/skos/core#Collection"
                           "http://www.w3.org/2004/02/skos/core#ConceptScheme"
                           "http://www.w3.org/2004/02/skos/core#OrderedCollection"]
   #'rdfs:sub-class-of ["http://umbel.org/umbel/rc/Granular"
                        "http://umbel.org/umbel/rc/PlantProduct"
                        "http://umbel.org/umbel/rc/FoodIngredientOnly"]
   #'skos:broader-transitive ["http://umbel.org/umbel/rc/Granular"
                              "http://umbel.org/umbel/rc/PlantProduct"
                              "http://umbel.org/umbel/rc/FoodIngredientOnly"]
    #'rdf:type ["http://www.w3.org/2002/07/owl#Class" 
                "http://umbel.org/umbel#RefConcept" 
                "http://www.w3.org/2002/07/owl#NamedIndividual"]}
          
 
 

Copyright © 2008-2017. Structured Dynamics LLC. All content available via Creative Commons Attribution 3.0