Ontology Version: 2.2.0

cacontology-stranger:AbductorProfileShape leaf node


URI

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

Label

Abductor Profile Shape

Description

Validation shape for abductor profile 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:AbductorProfileShape a sh:NodeShape ;
    rdfs:label "Abductor Profile Shape"@en ;
    rdfs:comment "Validation shape for abductor profile instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "behavioral_profile" "demographic_profile" "psychological_profile" "criminal_profile" "composite_profile" ) ;
            sh:maxCount 1 ;
            sh:message "Abductor profile must specify profile type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-stranger:profileType ],
        [ sh:datatype xsd:string ;
            sh:in ( "under_18" "18_25" "26_35" "36_45" "46_55" "56_65" "over_65" "unknown" ) ;
            sh:maxCount 1 ;
            sh:message "Age range must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-stranger:ageRange ],
        [ sh:datatype xsd:string ;
            sh:in ( "male" "female" "unknown" "other" ) ;
            sh:maxCount 1 ;
            sh:message "Gender profile must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-stranger:genderProfile ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Abductor profile may specify if criminal history exists."@en ;
            sh:minCount 0 ;
            sh:path cacontology-stranger:criminalHistory ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 50 ;
            sh:message "Prior offenses must be between 0 and 50."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-stranger:priorOffenses ],
        [ sh:datatype xsd:string ;
            sh:in ( "antisocial_personality" "sexual_deviance" "substance_abuse" "mental_illness" "impulse_control" "multiple_factors" ) ;
            sh:maxCount 1 ;
            sh:message "Psychological factors must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-stranger:psychologicalFactors ] ;
    sh:targetClass cacontology-stranger:AbductorProfile .