gbv / jskos

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

New field: qualified #128

Open nichtich opened 6 days ago

nichtich commented 6 days ago

To state qualified relations between concepts, for instance with start and end date. This eventually adds the same as Wikibase statements, RDF reification, and/or RDF-star. Following Wikidata/Wikibase seems most practical.

A qualifiedRelation corresponds to a Wikibase claim without rank and without somevalue and novalue. Normal JSKOS fields such as startDate and endDate can be used as qualifiers apart form source (=Wikibase references).

{
  qualified: [{
    property: "...", // JSKOS field
    value: ..., // can be any data type
    startDate: "2024",
    source: [ ... ]
  }]
}

Allowing arbitrary properties seems against the spirit of JSKOS to boild down data to most common fields. Only defined JSKOS fields can be qualified.