Closed kburger closed 11 months ago
I don't see the problem, the blank node you created is not a skos:Concept
.
The following should be correct:
@prefix dc: <http://purl.org/dc/terms/> .
<> a dc:LicenseDocument ;
dc:type [
a <http://www.w3.org/2004/02/skos/core#Concept> .
] .
Ah of course, thanks for the correction.
There seems to be a conflict in
LicenseDocumentShape
's properties. The two properties both define constraints on thedc:type
shacl path: one withsh:class skos:Concept
and one withsh:nodeKind sh:BlankNodeOrIRI
.https://github.com/SEMICeu/DCAT-AP/blob/9db2a401868f8eb1de0ab7f38f762b66181f8e5a/releases/3.0.0/shacl/dcat-ap-SHACL.ttl#L2303-L2321
Given this example data graph:
This produces the following validation report in the shacl playground: