https://cacontology.projectvic.org/abduction#TemporalValidationShape
Validates temporal consistency in stranger abductions.
Instances of cacontology-stranger:StrangerAbduction can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-stranger:StrangerAbduction | ||||
| cacontology-stranger:abductionLocation | 1 | 1 |
xsd:string
|
|
| 1 | 1 |
xsd:dateTime
|
||
| 1 | 1 |
xsd:string
|
||
| 1 | 1 |
xsd:dateTime
|
||
| 0 | 1 |
xsd:decimal
|
||
| 1 | 1 |
xsd:string
|
||
| 1 | 1 |
xsd:nonNegativeInteger
|
||
@prefix cacontology-stranger: <https://cacontology.projectvic.org/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 .