https://cacontology.projectvic.org/infrastructure/shapes#InfrastructureObjectTypeValidationShape
Validates gUFO Object type consistency for platform infrastructure.
@prefix cacontology-infrastructure: <https://cacontology.projectvic.org/infrastructure#> .
@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:InfrastructureObjectTypeValidationShape a sh:NodeShape ;
rdfs:label "Infrastructure Object Type Validation Shape"@en ;
rdfs:comment "Validates gUFO Object type consistency for platform infrastructure."@en ;
sh:sparql [ sh:message "Infrastructure objects must be properly typed as gUFO Object and extend UCO Observable."@en ;
sh:select """
SELECT $this
WHERE {
$this rdf:type gufo:Object .
FILTER NOT EXISTS {
$this rdf:type ?obsClass ;
?obsClass rdfs:subClassOf* uco-observable:ObservableObject .
}
}
""" ] ;
sh:targetClass cacontology-infrastructure:PlatformInfrastructure .