https://cacontology.projectvic.org/grooming#EscalationConsistencyBusinessRule
Instances of cacontology-grooming:EscalationPattern can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-grooming:EscalationPattern | ||||
| 0 | 1 |
xsd:decimal
|
||
| 1 |
xsd:double
|
|||
| 1 | 1 |
xsd:string
|
||
| 1 | 1 |
xsd:string
|
||
| cacontology-grooming:patternConfidence | 0 | 1 |
xsd:decimal
|
|
| 1 |
xsd:dateTimeStamp
|
|||
| 1 |
xsd:dateTimeStamp
|
|||
@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 .