Skip to content
This repository was archived by the owner on Jun 10, 2019. It is now read-only.

3. Taxonomies

Chris Dijkshoorn edited this page Apr 7, 2015 · 7 revisions

Accurator relies on taxonomies for expertise elicitation, recommending artworks to annotate, annotation field autocompletion and subset selection. On this page we explain how to load a taxonomy and how to select concepts from a taxonomy used in autocompletion.

Load taxonomy

Accurator can handle taxonomies and vocabularies defined in RDF. Below we show how to download the Iconclass taxonomy and load it:

$ ../rdf
$ mkdir iconclass
$ cd iconclass
$ wget http://iconclass.org/data/iconclass.20121019.nt.gz

Loading the data after starting the server:

$ cd ..
$ ./run.pl
?- rdf_load('../rdf/iconclass/iconclass.20121019.nt.gz', [graph(http://iconclass.org/20121019.ttl.gz)]).

You just downloaded and loaded the Iconclass taxonomy.

Create concept subset

Most likely not all concepts in a taxonomy will be suitable for autocompletion in the context of a specific domain. Accurator allows to create subsets of concepts in taxonomies by adding them to a skos concept scheme. We provide multiple options for selecting a subset of the concepts in concept_scheme_selection.pl:

  • type_concept_scheme - make concepts the specified type part of the concept scheme
  • iconclass_code_concept_scheme - makes concepts with the specified Iconclass code or below part of a concept scheme

For example, to make concepts with code 7 (Bible) or below in the Iconclass vocabulary part of the concept scheme 'http://accurator.nl/bible#BiblicalThemeConceptScheme', run the following code:

iconclass_code_concept_scheme('http://iconclass.org/7','http://accurator.nl/bible#BiblicalThemeConceptScheme','concept_scheme_bible_theme.ttl').

You now loaded the collection data and a taxonomy, next we will explain how to specify an annotation domain, bringing the two together.

Clone this wiki locally