Ontology Version: 2.2.0

cacontology-stranger:OpportunisticAbductionShape leaf node


URI

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

Label

Opportunistic Abduction Shape

Description

Validation shape for opportunistic 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:OpportunisticAbductionShape a sh:NodeShape ;
    rdfs:label "Opportunistic Abduction Shape"@en ;
    rdfs:comment "Validation shape for opportunistic abduction instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "isolated_victim" "lack_of_supervision" "vulnerable_situation" "environmental_factor" "timing_factor" "distraction" ) ;
            sh:maxCount 1 ;
            sh:message "Opportunistic abduction must specify opportunity factor from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:opportunityFactor ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Opportunistic abduction must specify if it was impulsive in nature."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:impulsiveNature ] ;
    sh:targetClass cacontology-stranger:OpportunisticAbduction .