Ontology Version: 3.1.0

cacontology-grooming:EscalationConsistencyBusinessRule leaf node


URI

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

Label

EscalationConsistencyBusinessRule

Targets (1)

Implementation

@prefix cacontology-grooming: <https://cacontology.projectvic.org/grooming#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-grooming:EscalationConsistencyBusinessRule a sh:NodeShape ;
    sh:sparql [ sh:message "Rapid escalation should have short duration and high predictability"@en ;
            sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/grooming#"^^xsd:anyURI ;
                            sh:prefix "cacontology-grooming" ] ] ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-grooming:escalationSpeed "very_fast" ;
                      cacontology-grooming:escalationDuration ?duration ;
                      cacontology-grooming:escalationPredictability ?predictability .
                FILTER (?duration > 30.0 || ?predictability < 0.7)
            }
        """ ] ;
    sh:targetClass cacontology-grooming:EscalationPattern .