Ontology Version: 2.2.0

cacontology-stranger:VehicleAbductionShape leaf node


URI

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

Label

Vehicle Abduction Shape

Description

Validation shape for vehicle 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:VehicleAbductionShape a sh:NodeShape ;
    rdfs:label "Vehicle Abduction Shape"@en ;
    rdfs:comment "Validation shape for vehicle abduction instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "sedan" "suv" "truck" "van" "motorcycle" "commercial_vehicle" "unknown" ) ;
            sh:maxCount 1 ;
            sh:message "Vehicle abduction must specify vehicle type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:vehicleType ],
        [ sh:datatype xsd:string ;
            sh:in ( "white" "black" "gray" "silver" "red" "blue" "green" "yellow" "brown" "other" "unknown" ) ;
            sh:maxCount 1 ;
            sh:message "Vehicle color must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-stranger:vehicleColor ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Vehicle abduction must specify if license plate information is available."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:licensePlateInfo ] ;
    sh:targetClass cacontology-stranger:VehicleAbduction .