gbv / jskos

JSKOS data format for Knowledge Organization Systems
https://gbv.github.io/jskos/
38 stars 5 forks source link

Exemplify semantic indexing with ILC2 (requires memberRoles+memberList) #101

Open nichtich opened 3 years ago

nichtich commented 3 years ago

Semantic indexing can be expressed with a Concept Bundle using memberRoles. This can be exemplified with the faceted classification ILC version 2, which has been expressed in RDF. An example (from here):

Facets:

2  in location
3  affected by agent
6  having property

Classes using the facets:

mqvt2l      mammals, in bacteria
mqvt3l      mammals, affected by bacteria
mqvt6l      mammals, having bacteria

To keep order to distinguish mqvt3l and l3mqvt both memberList and memberRoles must be given in the same Concept Bundle:

{
  "notation": ["mqvt2l"],
  "memberList": [
    {"uri":"http://www.iskoi.org/ilc/2/class/mqvt"},
    {"uri":"http://www.iskoi.org/ilc/2/class/2"},
    {"uri":"http://www.iskoi.org/ilc/2/class/l"}
  ],
  "memberRoles": {
    "http://www.iskoi.org/ilc/2/class/2": [
      {"uri":"http://www.iskoi.org/ilc/2/class/l"}
    ]
}

The notation of a combined class can be derivde