https://cacontology.projectvic.org/victim-impact#RecoveryProgressValidationShape
Validates recovery progress consistency.
Instances of cacontology-impact:RecoveryProcess can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-impact:RecoveryProcess | ||||
| 0 | 1 |
xsd:nonNegativeInteger
|
||
| 1 | 1 |
xsd:string
|
||
| cacontology-impact:recoveryStage | 1 | 1 |
xsd:string
|
|
| 0 | 1 |
xsd:decimal
|
||
@prefix cacontology-impact: <https://cacontology.projectvic.org/victim-impact#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-impact:RecoveryProgressValidationShape a sh:NodeShape ;
rdfs:label "Recovery Progress Validation Shape"@en ;
rdfs:comment "Validates recovery progress consistency."@en ;
sh:sparql [ sh:message "Complete recovery should have significant time in recovery."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-impact:recoveryProgress "complete_recovery" ;
cacontology-impact:timeInRecovery ?time .
FILTER (?time < 1.0)
}
""" ] ;
sh:targetClass cacontology-impact:RecoveryProcess .