Ontology Version: 2.2.0

cacontology-stranger:VictimRecoveryShape leaf node


URI

https://cacontology.projectvic.org/stranger-abduction#VictimRecoveryShape

Label

Victim Recovery Shape

Description

Validation shape for victim recovery instances.

Implementation

@prefix cacontology-stranger: <https://cacontology.projectvic.org/stranger-abduction#> .
@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-stranger:VictimRecoveryShape a sh:NodeShape ;
    rdfs:label "Victim Recovery Shape"@en ;
    rdfs:comment "Validation shape for victim recovery instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "safe_recovery" "rescue_operation" "self_escape" "release_by_abductor" "discovery_by_public" "law_enforcement_recovery" ) ;
            sh:maxCount 1 ;
            sh:message "Victim recovery must specify recovery type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:recoveryType ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Victim recovery must specify recovery time."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:recoveryTime ],
        [ sh:datatype xsd:string ;
            sh:in ( "original_location" "nearby_location" "distant_location" "different_jurisdiction" "different_state" "different_country" ) ;
            sh:maxCount 1 ;
            sh:message "Victim recovery must specify recovery location type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:recoveryLocation ],
        [ sh:datatype xsd:string ;
            sh:in ( "unharmed" "minor_injuries" "significant_injuries" "critical_condition" "deceased" "unknown" ) ;
            sh:maxCount 1 ;
            sh:message "Victim recovery must specify victim condition from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:victimCondition ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Victim recovery must specify if medical attention was required."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:medicalAttention ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 8760.0 ;
            sh:message "Captivity duration must be between 0.1 and 8760 hours (1 year)."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.1 ;
            sh:path cacontology-stranger:captivityDuration ] ;
    sh:targetClass cacontology-stranger:VictimRecovery .