https://cacontology.projectvic.org/partnerships/shapes#PartnershipPhaseTypeValidationShape
Validates gUFO Phase type consistency for partnership phases.
Instances of cac-core:Phase can have the following properties:
@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@prefix cacontology-partnerships-shapes: <https://cacontology.projectvic.org/partnerships/shapes#> .
@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 cac-core:Phase .