Ontology Version: 3.1.0

cacontology-grooming:EscalationPatternShape leaf node


URI

https://cacontology.projectvic.org/grooming#EscalationPatternShape

Label

Escalation Pattern Shape

Description

Validation shape for escalation pattern instances with gUFO integration.

Targets (1)

Property Constraints (7)

Focus nodes of this shape (cacontology-grooming:EscalationPattern) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-grooming:escalationDuration
sh:message Escalation duration must be between 0 and 365 days.
0 1 xsd:decimal
sh:minInclusive 0.0
sh:maxInclusive 365.0
cacontology-grooming:escalationPredictability
sh:message Escalation predictability must be between 0.0 and 1.0 (gUFO quality aspect)
0 1 xsd:double
sh:minInclusive 0.0
sh:maxInclusive 1.0
cacontology-grooming:escalationSpeed
sh:message Escalation pattern must specify escalation speed from the allowed list (gUFO quality aspect).
1 1 xsd:string
sh:in very_slow, slow, moderate, fast, very_fast, immediate
cacontology-grooming:escalationType
sh:message Escalation pattern must specify escalation type from the allowed list.
1 1 xsd:string
sh:in gradual, rapid, stepped, cyclical, irregular, sudden, systematic
cacontology-grooming:patternConfidence Confidence level in pattern identification (0.0-1.0).
sh:message Pattern confidence must be between 0.0 and 1.0 (gUFO quality aspect).
0 1 xsd:decimal
sh:minInclusive 0.0
sh:maxInclusive 1.0
gufo:hasBeginPointInXSDDateTimeStamp
sh:message Escalation pattern may have begin timestamp (gUFO temporal)
0 1 xsd:dateTimeStamp
gufo:hasEndPointInXSDDateTimeStamp
sh:message Escalation pattern may have end timestamp (gUFO temporal)
0 1 xsd:dateTimeStamp

Implementation

@prefix cacontology-grooming: <https://cacontology.projectvic.org/grooming#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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-grooming:EscalationPatternShape a sh:NodeShape ;
    rdfs:label "Escalation Pattern Shape"@en ;
    rdfs:comment "Validation shape for escalation pattern instances with gUFO integration."@en ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Escalation pattern may have begin timestamp (gUFO temporal)"@en ;
            sh:path gufo:hasBeginPointInXSDDateTimeStamp ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Escalation pattern may have end timestamp (gUFO temporal)"@en ;
            sh:path gufo:hasEndPointInXSDDateTimeStamp ],
        [ sh:datatype xsd:string ;
            sh:in ( "gradual" "rapid" "stepped" "cyclical" "irregular" "sudden" "systematic" ) ;
            sh:maxCount 1 ;
            sh:message "Escalation pattern must specify escalation type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-grooming:escalationType ],
        [ sh:datatype xsd:string ;
            sh:in ( "very_slow" "slow" "moderate" "fast" "very_fast" "immediate" ) ;
            sh:maxCount 1 ;
            sh:message "Escalation pattern must specify escalation speed from the allowed list (gUFO quality aspect)."@en ;
            sh:minCount 1 ;
            sh:path cacontology-grooming:escalationSpeed ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 365.0 ;
            sh:message "Escalation duration must be between 0 and 365 days."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-grooming:escalationDuration ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Pattern confidence must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-grooming:patternConfidence ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Escalation predictability must be between 0.0 and 1.0 (gUFO quality aspect)"@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-grooming:escalationPredictability ] ;
    sh:targetClass cacontology-grooming:EscalationPattern .