Ontology Version: 3.1.0

cacontology-stranger:AbductorProfileShape leaf node


URI

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

Label

Abductor Profile Shape

Description

Validation shape for abductor profile instances.

Targets (1)

  • cacontology-stranger:AbductorProfile sh:targetClass

Property Constraints (6)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-stranger:ageRange
sh:message Age range must be from the allowed list.
0 1 xsd:string
sh:in under_18, 18_25, 26_35, 36_45, 46_55, 56_65, over_65, unknown
cacontology-stranger:criminalHistory
sh:message Abductor profile may specify if criminal history exists.
0 1 xsd:boolean
cacontology-stranger:genderProfile
sh:message Gender profile must be from the allowed list.
0 1 xsd:string
sh:in male, female, unknown, other
cacontology-stranger:priorOffenses
sh:message Prior offenses must be between 0 and 50.
0 1 xsd:nonNegativeInteger
sh:minInclusive 0
sh:maxInclusive 50
cacontology-stranger:profileType
sh:message Abductor profile must specify profile type from the allowed list.
1 1 xsd:string
sh:in behavioral_profile, demographic_profile, psychological_profile, criminal_profile, composite_profile
cacontology-stranger:psychologicalFactors
sh:message Psychological factors must be from the allowed list.
0 1 xsd:string
sh:in antisocial_personality, sexual_deviance, substance_abuse, mental_illness, impulse_control, multiple_factors

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: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 .