skohub-io / skohub-shapes

5 stars 2 forks source link

Add rule for obligatory inScheme/topConceptOf #21

Open acka47 opened 4 months ago

acka47 commented 4 months ago

Originated in https://github.com/skohub-io/skohub-vocabs/issues/307.

A vocab won't build as expected when concepts are linked by skos:broader/skos:narrower to top concepts but don't have a skos:inScheme statement. But there will be no validation error. Thus, we should check whether all concepts are linked to the concept scheme either with skos:inScheme or skos:topConceptOf or the inverse skos:hasTopConcept.