https://cacontology.projectvic.org/stranger-abduction#AbductionCrossReferenceShape
Validates cross-references between abduction and related entities.
@prefix cacontology-stranger: <https://cacontology.projectvic.org/stranger-abduction#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-stranger:AbductionCrossReferenceShape a sh:NodeShape ;
rdfs:label "Abduction Cross Reference Shape"@en ;
rdfs:comment "Validates cross-references between abduction and related entities."@en ;
sh:sparql [ sh:message "Stranger abduction must involve abductor and use method."@en ;
sh:select """
SELECT $this
WHERE {
$this a cacontology-stranger:StrangerAbduction .
FILTER NOT EXISTS {
$this cacontology-stranger:involvesAbductor ?abductor ;
cacontology-stranger:usesMethod ?method .
}
}
""" ] ;
sh:targetClass cacontology-stranger:StrangerAbduction .