Ontology Version: 2.2.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.

Shape Properties

Instances of cacontology-infrastructure:InfrastructureTakedown can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-infrastructure:InfrastructureTakedown
cacontology-infrastructure:hasTakedownCompleteness 1 xsd:double
cacontology-infrastructure:hasTakedownEffectiveness 1 xsd:double
cacontology-infrastructure:hasTakedownSpeed 1 xsd:string
cacontology-infrastructure:takedownDuration 0 1 xsd:decimal
0 1 xsd:dateTime
1 1 xsd:dateTime

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 .