Ontology Version: 3.1.0

cacontology-stranger:VictimRecoveryShape leaf node


URI

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

Label

Victim Recovery Shape

Description

Validation shape for victim recovery instances.

Targets (1)

  • cacontology-stranger:VictimRecovery sh:targetClass

Property Constraints (6)

Focus nodes of this shape (cacontology-stranger:VictimRecovery) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-stranger:captivityDuration
sh:message Captivity duration must be between 0.1 and 8760 hours (1 year).
0 1 xsd:decimal
sh:minInclusive 0.1
sh:maxInclusive 8760.0
cacontology-stranger:medicalAttention
sh:message Victim recovery must specify if medical attention was required.
1 1 xsd:boolean
cacontology-stranger:recoveryLocation
sh:message Victim recovery must specify recovery location type from the allowed list.
1 1 xsd:string
sh:in original_location, nearby_location, distant_location, different_jurisdiction, different_state, different_country
cacontology-stranger:recoveryTime
sh:message Victim recovery must specify recovery time.
1 1 xsd:dateTime
cacontology-stranger:recoveryType
sh:message Victim recovery must specify recovery type from the allowed list.
1 1 xsd:string
sh:in safe_recovery, rescue_operation, self_escape, release_by_abductor, discovery_by_public, law_enforcement_recovery
cacontology-stranger:victimCondition
sh:message Victim recovery must specify victim condition from the allowed list.
1 1 xsd:string
sh:in unharmed, minor_injuries, significant_injuries, critical_condition, deceased, unknown

Implementation

@prefix cacontology-stranger: <https://cacontology.projectvic.org/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 .