https://cacontology.projectvic.org/infrastructure/shapes#InfrastructurePhaseTypeValidationShape
Validates gUFO Phase type consistency for infrastructure phases.
Instances of cac-core:Phase can have the following properties:
@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@prefix cacontology-infrastructure-shapes: <https://cacontology.projectvic.org/infrastructure/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-infrastructure-shapes:InfrastructurePhaseTypeValidationShape a sh:NodeShape ;
rdfs:label "Infrastructure Phase Type Validation Shape"@en ;
rdfs:comment "Validates gUFO Phase type consistency for infrastructure phases."@en ;
sh:sparql [ sh:message "Infrastructure phases must be properly typed as gUFO Phase and extend infrastructure classes."@en ;
sh:select """
SELECT $this
WHERE {
$this rdf:type gufo:Phase .
FILTER NOT EXISTS {
$this rdf:type/rdfs:subClassOf* cacontology-infrastructure:PlatformInfrastructure .
}
}
""" ] ;
sh:targetClass cac-core:Phase .