Ontology Version: 2.2.0

cacontology-coord:TemporalValidationShape leaf node


URI

https://cacontology.projectvic.org/investigation-coordination#TemporalValidationShape

Label

Temporal Validation Shape

Description

Validates temporal consistency in investigation coordination.

Shape Properties

Instances of cacontology-coord:InvestigationCoordination can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-coord:InvestigationCoordination
cacontology-coord:coordinationLevel 1 1 xsd:string
cacontology-coord:coordinationStatus 1 1 xsd:string
cacontology-coord:coordinationType 1 1 xsd:string
cacontology-coord:hasComplexityLevel 1 xsd:string
cacontology-coord:hasCoordinationEffectiveness 1 xsd:string
cacontology-coord:hasDataCompleteness 1 xsd:double
cacontology-coord:hasDataConsistency 1 xsd:double
cacontology-coord:hasDataQuality 1 xsd:string
cacontology-coord:hasSuccessRate 1 xsd:double
cacontology-coord:hasValidationLevel 1 xsd:string
cacontology-coord:leadAgency 1 1 xsd:string
cacontology-coord:participatingAgencies 1 1 xsd:nonNegativeInteger
1 xsd:dateTime
1 xsd:dateTime
0 1 xsd:string
0 1 xsd:string
0 1 xsd:dateTime
0 1 xsd:dateTime
0 1 xsd:dateTime
0 1 xsd:dateTime

Implementation

@prefix cacontology-coord: <https://cacontology.projectvic.org/investigation-coordination#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-coord:TemporalValidationShape a sh:NodeShape ;
    rdfs:label "Temporal Validation Shape"@en ;
    rdfs:comment "Validates temporal consistency in investigation coordination."@en ;
    sh:sparql [ sh:message "Start time must be before end time when both are specified."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this uco-core:startTime ?start ;
                      uco-core:endTime ?end .
                FILTER (?start >= ?end)
            }
        """ ] ;
    sh:targetClass cacontology-coord:InvestigationCoordination .