Ontology Version: 2.2.0

cacontology-stranger:StrangerAbductionShape leaf node


URI

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

Label

Stranger Abduction Shape

Description

Validation shape for stranger abduction 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:StrangerAbductionShape a sh:NodeShape ;
    rdfs:label "Stranger Abduction Shape"@en ;
    rdfs:comment "Validation shape for stranger abduction instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "opportunistic" "predatory" "planned" "random" "targeted" "crime_of_opportunity" ) ;
            sh:maxCount 1 ;
            sh:message "Stranger abduction must specify abduction type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:abductionType ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 17 ;
            sh:message "Victim age must be between 0 and 17 years."@en ;
            sh:minCount 1 ;
            sh:minInclusive 0 ;
            sh:path cacontology-stranger:victimAge ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Stranger abduction must specify abduction time."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:abductionTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Stranger abduction must specify reported time."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:reportedTime ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 168.0 ;
            sh:message "Response time must be between 0.1 and 168 hours (1 week)."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.1 ;
            sh:path cacontology-stranger:responseTime ],
        [ sh:datatype xsd:string ;
            sh:in ( "critical" "high" "medium" "low" "unknown" ) ;
            sh:maxCount 1 ;
            sh:message "Stranger abduction must specify risk level from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:riskLevel ],
        [ sh:datatype xsd:string ;
            sh:in ( "public_space" "school_area" "residential_area" "commercial_area" "transportation_hub" "recreational_area" "remote_location" ) ;
            sh:maxCount 1 ;
            sh:message "Stranger abduction must specify abduction location type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:abductionLocation ] ;
    sh:targetClass cacontology-stranger:StrangerAbduction .