Ontology Version: 3.1.0

cacontology-infrastructure-shapes:TakedownParticipationShape leaf node


URI

https://cacontology.projectvic.org/infrastructure/shapes#TakedownParticipationShape

Label

Takedown Participation Shape

Description

Validates gUFO participation constraints for takedown operations.

Implementation

@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:TakedownParticipationShape a sh:NodeShape ;
    rdfs:label "Takedown Participation Shape"@en ;
    rdfs:comment "Validates gUFO participation constraints for takedown operations."@en ;
    sh:sparql [ sh:message "Takedown operations must involve takedown operators (gUFO participation constraint)."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this rdf:type cacontology-infrastructure:InfrastructureTakedown .
                FILTER NOT EXISTS {
                    ?operator a cacontology-infrastructure:TakedownOperatorRole ;
                             uco-action:performer ?person .
                }
            }
        """ ] ;
    sh:targetClass cacontology-infrastructure:InfrastructureTakedown .