https://cacontology.projectvic.org/infrastructure/shapes#InfrastructureParticipationShape
Validates gUFO participation constraints 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:InfrastructureParticipationShape a sh:NodeShape ;
rdfs:label "Infrastructure Participation Shape"@en ;
rdfs:comment "Validates gUFO participation constraints for platform infrastructure."@en ;
sh:sparql [ sh:message "Platform infrastructure must be associated with hosting providers or management roles (gUFO participation constraint)."@en ;
sh:select """
SELECT $this
WHERE {
$this rdf:type cacontology-infrastructure:PlatformInfrastructure .
FILTER NOT EXISTS {
{ $this cacontology-infrastructure:hostedBy ?provider } UNION
{ ?role a gufo:Role ; cacontology-infrastructure:manages $this }
}
}
""" ] ;
sh:targetClass cacontology-infrastructure:PlatformInfrastructure .