Skip to content
This repository has been archived by the owner. It is now read-only.

3. Taxonomies

LaraHack edited this page Mar 18, 2016 · 7 revisions

Accurator relies on taxonomies for expertise elicitation, recommending artworks to annotate, annotation field autocompletion and subset selection. We explain how to load a taxonomy and how to select concepts from a taxonomy to be 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, continuing from collection data:

$ ../data
$ 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('../data/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 of the specified type part of the concept scheme
  • iconclass_code_concept_scheme - make concepts with the specified Iconclass code or below part of a concept scheme

For example, to create a concept scheme that contains biblical figures, we use the biblical figures as defined in the Bible Ontology:

type_concept_scheme('http://bibleontology.com/class/Biblical_Figures', 'http://accurator.nl/bible#BiblicalFigureConceptScheme', 'concept_scheme_bible_figure.ttl').

Now you have created a concept scheme for bible figures in 'http://accurator.nl/bible#BiblicalFigureConceptScheme' using the Bible Ontology.

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').

By running these commands, you have now created a concept scheme for bible themes using the Iconclass vocabulary.

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

You can’t perform that action at this time.