https://cacontology.projectvic.org/physical-evidence/shapes#EvidencePhaseTemporalShape
Validates gUFO temporal constraints for evidence phases.
Instances of gufo:Phase can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| gufo:Phase | ||||
| cacontology-infrastructure:hasPhaseBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-infrastructure:hasPhaseEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-multi:hasCoordinationPhaseBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-multi:hasCoordinationPhaseEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-partnerships:hasPhaseBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-partnerships:hasPhaseEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-production:hasProductionPhaseBeginPoint | 0 | 1 |
xsd:dateTimeStamp
|
|
| cacontology-production:hasProductionPhaseEndPoint | 0 | 1 |
xsd:dateTimeStamp
|
|
| cacontology-temporal:hasLegalDeadline | 1 |
xsd:dateTimeStamp
|
||
| cacontology-temporal:hasMaximumDuration | 1 |
xsd:duration
|
||
| cacontology-temporal:hasMinimumDuration | 1 |
xsd:duration
|
||
| cacontology-temporal:hasTypicalDuration | 1 |
xsd:duration
|
||
| cacontology-temporal:phaseCompletionRate | 1 |
xsd:decimal
|
||
| cacontology-temporal:phaseEfficiency | 1 |
xsd:decimal
|
||
| cacontology-temporal:urgencyLevel | 1 |
xsd:integer
|
||
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical-evidence/shapes#> .
@prefix cacontology-physical1: <https://cacontology.projectvic.org/physical-evidence#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-physical-shapes:EvidencePhaseTemporalShape a sh:NodeShape ;
rdfs:label "Evidence Phase Temporal Shape"@en ;
rdfs:comment "Validates gUFO temporal constraints for evidence phases."@en ;
sh:property [ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Evidence phase may have begin point timestamp."@en ;
sh:path cacontology-physical1:hasPhaseBeginPoint ],
[ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Evidence phase may have end point timestamp."@en ;
sh:path cacontology-physical1:hasPhaseEndPoint ] ;
sh:sparql [ sh:message "Phase end must be after begin when both are specified."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-physical:hasPhaseBeginPoint ?start ;
cacontology-physical:hasPhaseEndPoint ?end .
FILTER (?end <= ?start)
}
""" ] ;
sh:targetClass gufo:Phase .