FactGrid:Vocabulary model
Controlled Vocabularies in FactGrid
Many relevant vocabularies exist (see FactGrid:Vocabularies), some of which are also stored or managed in FactGrid with Items. This page summarizes the corresponding data model.
this is work in progress!
In short a controlled vocabulary is a set of concepts that can be connected by hierarchy (broader/narrower) and/or other generic relationships (related). Each concept has labels and should have at least one identifier, unique across its vocabulary.
A more detailled data model of vocabularies is given by JSKOS Data Format. FactGrid vocabulary model can be mapped to a subset of JSKOS.
Vocabularies
Every vocabulary MUST have an item that is instance of Q456374 or one of its subclasses.
SELECT ?item ?itemLabel ?bartoc WHERE { { ?item wdt:P2/wdt:P3* wd:Q456374 } OPTIONAL { ?item wdt:P932 ?id; BIND(IRI(CONCAT("http://bartoc.org/en/node/",?id)) as ?bartoc) } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
Concepts
Each concept is an item connect to exactely one vocabulary item.
How this is done is not fixed yet.
Identifiers
In some vocabularies the identifier is called notation and prepended to the item label, separated with ":
".
In some vocabularies the identifier is given by a statement (not defined yet).