https://cacontology.projectvic.org/forensics#ForensicActionTemporalShape
Instances of gufo:Event can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|---|
@prefix cacontology-forensics: <https://cacontology.projectvic.org/forensics#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-forensics:ForensicActionTemporalShape a sh:NodeShape ;
sh:property [ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Forensic action must have at most one begin timestamp (gUFO temporal constraint)"@en ;
sh:path gufo:hasBeginPointInXSDDateTimeStamp ],
[ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Forensic action must have at most one end timestamp (gUFO temporal constraint)"@en ;
sh:path gufo:hasEndPointInXSDDateTimeStamp ] ;
sh:sparql [ sh:message "Forensic action end time must be after begin time (gUFO temporal ordering)"@en ;
sh:prefixes [ sh:declare [ sh:namespace "http://purl.org/nemo/gufo#"^^xsd:anyURI ;
sh:prefix "gufo" ] ] ;
sh:select """
SELECT $this
WHERE {
$this gufo:hasBeginPointInXSDDateTimeStamp ?beginTime .
$this gufo:hasEndPointInXSDDateTimeStamp ?endTime .
FILTER (?endTime <= ?beginTime)
}
""" ] ;
sh:targetClass gufo:Event .