https://cacontology.projectvic.org/abduction#OpportunisticAbductionShape
Validation shape for opportunistic abduction instances.
Focus nodes of this shape (cacontology-stranger:OpportunisticAbduction) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-stranger:impulsiveNature |
sh:message Opportunistic abduction must specify if it was impulsive in nature. |
1 | 1 | xsd:boolean | |
cacontology-stranger:opportunityFactor |
sh:message Opportunistic abduction must specify opportunity factor from the allowed list. |
1 | 1 | xsd:string |
sh:in
isolated_victim, lack_of_supervision, vulnerable_situation, environmental_factor, timing_factor, distraction
|
@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: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 .