https://cacontology.projectvic.org/custodial#CustodyPhaseGUFOShape
Validates custody phases as anti-rigid gUFO 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-custodial: <https://cacontology.projectvic.org/custodial#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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-custodial:CustodyPhaseGUFOShape a sh:NodeShape ;
rdfs:label "gUFO Custody Phase Shape"@en ;
rdfs:comment "Validates custody phases as anti-rigid gUFO phases."@en ;
sh:property [ sh:hasValue gufo:Phase ;
sh:message "Custody phase must be typed as gUFO Phase (anti-rigid sortal)"@en ;
sh:minCount 1 ;
sh:path rdf:type ] ;
sh:sparql [ sh:message "Custody phases must follow valid transition sequence"@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/custodial#"^^xsd:anyURI ;
sh:prefix "cacontology-custodial" ] ] ;
sh:select """
PREFIX cacontology-custodial: <https://cacontology.projectvic.org/custodial#>
SELECT ?this
WHERE {
?relationship cacontology-custodial:hasCustodyPhase ?this ;
cacontology-custodial:hasCustodyPhase ?nextPhase .
?this cacontology-custodial:precedesCustodyPhase ?nextPhase ;
cacontology-custodial:hasCustodyEndPoint ?end1 .
?nextPhase cacontology-custodial:hasCustodyBeginPoint ?begin2 .
FILTER (?end1 > ?begin2)
}
""" ] ;
sh:targetClass gufo:Phase .