https://cacontology.projectvic.org/partnerships/shapes#PartnershipPhaseTypeValidationShape
Validates gUFO Phase type consistency for partnership 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-partnerships-shapes: <https://cacontology.projectvic.org/partnerships/shapes#> .
@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#> .
cacontology-partnerships-shapes:PartnershipPhaseTypeValidationShape a sh:NodeShape ;
rdfs:label "Partnership Phase Type Validation Shape"@en ;
rdfs:comment "Validates gUFO Phase type consistency for partnership phases."@en ;
sh:sparql [ sh:message "Partnership phases must be properly typed as gUFO Phase and extend partnership classes."@en ;
sh:select """
SELECT $this
WHERE {
$this rdf:type gufo:Phase .
FILTER NOT EXISTS {
$this rdf:type ?phaseClass .
?phaseClass rdfs:subClassOf* cacontology-partnerships:PublicPrivatePartnership .
}
}
""" ] ;
sh:targetClass gufo:Phase .