rdf4j
rdf4j copied to clipboard
SHACL - validation of sh:qualifiedMaxCount may sometimes not when a statement matching the path is added
Shape
rdf4j:SHACLShapeGraph {
ex:PersonShape a sh:NodeShape;
sh:targetClass ex:Person;
sh:property [
sh:path ex:name;
sh:qualifiedValueShape [sh:datatype xsd:string ; ] ;
sh:qualifiedMaxCount 1 ;
] .
}
Initial data
ex:person1 a ex:Person ;
ex:name "en val"@en, "whatever" .
SPARQL update
INSERT DATA {
ex:person1 ex:name "other".
}