Open ddeboer opened 3 years ago
SHACL will match any sh:targetClass
, which in our case includes schema:Dataset
.
I’m not sure we should fix this, because the origin RDF looks wrong semantically:
/doc/dataset/nbt
cannot be both a schema:WebPage
and schema:Dataset
as the dataset’s URI is /id/dataset/nbt
, not /doc/...
. They are here (incorrectly, in my eyes) linked together through an owl:sameAs
.
@coret Do you think we can get this solved on the KB side?
There is some movement at the KB in terms of LD publication environment and dataset descriptions. I suspect this particular problem will be solved shortly (read: months).
@ddeboer kun jij nog eens kijken hoe we onderstaande in SHACL kunnen opvangen (zodat de validatie goed gaat):
Onze SHACL klaagt nu over de schema:mainEntityOfPage property dat er properties missen die verplicht zijn voor een schema:Dataset
Uit dataset: https://data.bibliotheken.nl/doc/dataset/nbt.ttl
Originally posted by @coret in https://github.com/netwerk-digitaal-erfgoed/register/issues/8#issuecomment-844909797