Ontology Version: 3.1.0

cacontology-stranger:AbductionMethodShape leaf node


URI

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

Label

Abduction Method Shape

Description

Validation shape for abduction method instances.

Targets (1)

  • cacontology-stranger:AbductionMethod sh:targetClass

Property Constraints (5)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-stranger:accomplices
sh:message Number of accomplices must be between 0 and 10.
0 1 xsd:nonNegativeInteger
sh:minInclusive 0
sh:maxInclusive 10
cacontology-stranger:forceLevel
sh:message Force level must be from the allowed list.
0 1 xsd:string
sh:in none, minimal, moderate, significant, extreme, lethal
cacontology-stranger:methodType
sh:message Abduction method must specify method type from the allowed list.
1 1 xsd:string
sh:in physical_force, deception, enticement, threat, weapon_use, vehicle_abduction, walk_away
cacontology-stranger:vehicleUsed
sh:message Abduction method must specify if vehicle was used.
1 1 xsd:boolean
cacontology-stranger:weaponInvolved
sh:message Abduction method must specify if weapon was involved.
1 1 xsd:boolean

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:AbductionMethodShape a sh:NodeShape ;
    rdfs:label "Abduction Method Shape"@en ;
    rdfs:comment "Validation shape for abduction method instances."@en ;
    sh:property [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Abduction method must specify if weapon was involved."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:weaponInvolved ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Abduction method must specify if vehicle was used."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:vehicleUsed ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10 ;
            sh:message "Number of accomplices must be between 0 and 10."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-stranger:accomplices ],
        [ sh:datatype xsd:string ;
            sh:in ( "physical_force" "deception" "enticement" "threat" "weapon_use" "vehicle_abduction" "walk_away" ) ;
            sh:maxCount 1 ;
            sh:message "Abduction method must specify method type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:methodType ],
        [ sh:datatype xsd:string ;
            sh:in ( "none" "minimal" "moderate" "significant" "extreme" "lethal" ) ;
            sh:maxCount 1 ;
            sh:message "Force level must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-stranger:forceLevel ] ;
    sh:targetClass cacontology-stranger:AbductionMethod .