Swirrl / table2qb

A generic pipeline for converting tabular data into rdf data cubes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

codelist-pipeline generates inconsistent data

opened this issue · comments

generates
<http://example.org/def/concept-scheme/{cs} rdf:type skos:ConceptScheme;
skos:hasTopConcept <http://example.org/def/concept/{c}
skos:member <http://example.org/def/concept/{c}.

However the domain of skos:member is skos:Collection, which is defined as disjoint from skos:ConceptScheme.

Ah yes, I didn't realise they were disjoint.

It looks like we should use :concept skos:inScheme :scheme . instead of skos:member (and traverse the relation the opposite way around).

The skos:inScheme link was added as part of 23e16e2. This left the erroneous skos:member statements in place as queries in other Swirrl applications are relying on it. Once those downstream applications are fixed #90 can be merged to resolve this issue.

Fixed in PR #119