shacl-engine
Version:
A fast RDF/JS SHACL engine
16 lines (12 loc) • 386 B
text/turtle
@prefix ex: <http://example.org/>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix sh: <http://www.w3.org/ns/shacl#>.
ex:citizenOwnsHouseShape a sh:NodeShape;
sh:property ex:ownsHouseShape;
sh:targetClass ex:Citizen.
ex:isHouseShape
sh:class ex:House.
ex:ownsHouseShape
sh:path ex:owns;
sh:qualifiedMinCount 1;
sh:qualifiedValueShape ex:isHouseShape.