Ontology Version: 2.2.0

cacontology-tactical:BriefingTimingShape leaf node


URI

https://cacontology.projectvic.org/tactical#BriefingTimingShape

Label

Briefing Timing Shape

Description

Validates operation briefing timing.

Implementation

@prefix cacontology-tactical: <https://cacontology.projectvic.org/tactical#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-tactical:BriefingTimingShape a sh:NodeShape ;
    rdfs:label "Briefing Timing Shape"@en ;
    rdfs:comment "Validates operation briefing timing."@en ;
    sh:sparql [ sh:message "Pre-operation briefings should occur before operation start time."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-tactical:briefingType "pre_operation" ;
                      cacontology-tactical:briefingDate ?briefingDate .
                ?operation cacontology-tactical:includesBriefing $this ;
                          uco-core:startTime ?operationStart .
                FILTER (?briefingDate >= ?operationStart)
            }
        """ ] ;
    sh:targetClass cacontology-tactical:OperationBriefing .