https://cacontology.projectvic.org/stranger-abduction#TemporalValidationShape
Validates temporal consistency in stranger abductions.
@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:TemporalValidationShape a sh:NodeShape ;
rdfs:label "Temporal Validation Shape"@en ;
rdfs:comment "Validates temporal consistency in stranger abductions."@en ;
sh:sparql [ sh:message "Abduction time must be before or equal to reported time."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-stranger:abductionTime ?abduction ;
cacontology-stranger:reportedTime ?reported .
FILTER (?abduction > ?reported)
}
""" ] ;
sh:targetClass cacontology-stranger:StrangerAbduction .