Skip to content

Finding Vocabularies that Datasets Use

Tim L edited this page May 3, 2013 · 23 revisions

What is first

What we will cover

  • How csv2rdf4lod asserts void:vocabulary during conversion.
  • How csv2rdf4lod-automation discovers void:vocabulary after conversion

Let's get to it

csv2rdf4lod during conversion

csv2rdf4lod-automation after conversion (via LOV)

LOV updates http://lov.okfn.org/dataset/lov/lov.rdf daily. We can get the vocabulary namespaces by applying the query:

prefix vann: <http://purl.org/vocab/vann/>
prefix voaf: <http://purl.org/vocommons/voaf#>

select distinct ?namespace
where {
   ?vocab 
      a voaf:Vocabulary;
      vann:preferredNamespaceUri ?namespace
   .   
}

tdbquery --loc=manual/lov.rdf.tdb --query=../../src/preferredNamespaceUri.rq --results csv | grep -v "^namespace" | sort -u produces:

http://aims.fao.org/aos/geopolitical.owl#
http://cms-wg.sti2.org/ns/minimal-service-model#
http://commontag.org/ns#
http://contextus.net/ontology/ontomedia/core/expression#
http://contextus.net/ontology/ontomedia/ext/common/trait#
http://courseware.rkbexplorer.com/ontologies/courseware#
http://creativecommons.org/ns#
http://d-nb.info/standards/elementset/agrelon.owl#
http://d-nb.info/standards/elementset/gnd#
http://data.archiveshub.ac.uk/def/
http://data.lirmm.fr/ontologies/food#
...

csv2rdf4lod-automation after conversion (via prefix.cc)

What is next

Clone this wiki locally