Ontology Version: 3.1.0

cacontology-infrastructure-shapes:TakedownEventTemporalShape leaf node


URI

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

Label

Takedown Event Temporal Shape

Description

Validates gUFO temporal constraints for takedown events.

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:TakedownEventTemporalShape a sh:NodeShape ;
    rdfs:label "Takedown Event Temporal Shape"@en ;
    rdfs:comment "Validates gUFO temporal constraints for takedown events."@en ;
    sh:sparql [ sh:message "gUFO Events must have consistent temporal boundaries with end after start."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-infrastructure:hasTakedownBeginPoint ?start ;
                      cacontology-infrastructure:hasTakedownEndPoint ?end .
                FILTER (?end <= ?start)
            }
        """ ] ;
    sh:targetClass cacontology-infrastructure:InfrastructureTakedown .