Ontology Version: 3.1.0

cacontology-stranger:StrangerAbductionShape leaf node


URI

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

Label

Stranger Abduction Shape

Description

Validation shape for stranger abduction instances.

Targets (1)

Property Constraints (7)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-stranger:abductionLocation Specific location where abduction occurred.
sh:message Stranger abduction must specify abduction location type from the allowed list.
1 1 xsd:string
sh:in public_space, school_area, residential_area, commercial_area, transportation_hub, recreational_area, remote_location
cacontology-stranger:abductionTime
sh:message Stranger abduction must specify abduction time.
1 1 xsd:dateTime
cacontology-stranger:abductionType
sh:message Stranger abduction must specify abduction type from the allowed list.
1 1 xsd:string
sh:in opportunistic, predatory, planned, random, targeted, crime_of_opportunity
cacontology-stranger:reportedTime
sh:message Stranger abduction must specify reported time.
1 1 xsd:dateTime
cacontology-stranger:responseTime
sh:message Response time must be between 0.1 and 168 hours (1 week).
0 1 xsd:decimal
sh:minInclusive 0.1
sh:maxInclusive 168.0
cacontology-stranger:riskLevel
sh:message Stranger abduction must specify risk level from the allowed list.
1 1 xsd:string
sh:in critical, high, medium, low, unknown
cacontology-stranger:victimAge
sh:message Victim age must be between 0 and 17 years.
1 1 xsd:nonNegativeInteger
sh:minInclusive 0
sh:maxInclusive 17

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: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 .