Ontology Version: 2.2.0

cacontology-temporal-shapes:PhaseTemporalPropertiesShape leaf node


URI

https://cacontology.projectvic.org/temporal/shapes#PhaseTemporalPropertiesShape

Label

Phase Temporal Properties Shape

Description

Validates duration, deadline, and urgency properties on gUFO phases as introduced by the CAC temporal module.

Target Classes (1)

Implementation

@prefix cacontology-temporal: <https://cacontology.projectvic.org/temporal#> .
@prefix cacontology-temporal-shapes: <https://cacontology.projectvic.org/temporal/shapes#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-temporal-shapes:PhaseTemporalPropertiesShape a sh:NodeShape ;
    rdfs:label "Phase Temporal Properties Shape"@en ;
    rdfs:comment "Validates duration, deadline, and urgency properties on gUFO phases as introduced by the CAC temporal module."@en ;
    sh:property [ sh:datatype xsd:duration ;
            sh:maxCount 1 ;
            sh:message "hasMinimumDuration, when provided, must be a single xsd:duration value."@en ;
            sh:path cacontology-temporal:hasMinimumDuration ],
        [ sh:datatype xsd:duration ;
            sh:maxCount 1 ;
            sh:message "hasMaximumDuration, when provided, must be a single xsd:duration value."@en ;
            sh:path cacontology-temporal:hasMaximumDuration ],
        [ sh:datatype xsd:duration ;
            sh:maxCount 1 ;
            sh:message "hasTypicalDuration, when provided, must be a single xsd:duration value."@en ;
            sh:path cacontology-temporal:hasTypicalDuration ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "hasLegalDeadline, when provided, must be a single xsd:dateTimeStamp value."@en ;
            sh:path cacontology-temporal:hasLegalDeadline ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 5 ;
            sh:message "urgencyLevel, when provided, must be an integer between 1 and 5 (1=lowest, 5=highest)."@en ;
            sh:minInclusive 1 ;
            sh:path cacontology-temporal:urgencyLevel ] ;
    sh:targetClass gufo:Phase .