Ontology Version: 3.1.0

cacontology-street:SecondaryLocationExploitationShape leaf node


URI

https://cacontology.projectvic.org/street#SecondaryLocationExploitationShape

Label

Secondary Location Exploitation Shape

Description

Validation shape for secondary location exploitation instances.

Property Constraints (2)

Focus nodes of this shape (cacontology-street:SecondaryLocationExploitation) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-street:distanceFromContact Distance in miles from initial contact to exploitation location.
sh:message Distance from contact must be a non-negative decimal value in miles.
0 1 xsd:decimal
sh:minInclusive 0.0
cacontology-street:exploitationLocation Location where exploitation or assault occurred.
sh:message Exploitation location may be specified.
0 1 xsd:string

Implementation

@prefix cacontology-street: <https://cacontology.projectvic.org/street#> .
@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-street:SecondaryLocationExploitationShape a sh:NodeShape ;
    rdfs:label "Secondary Location Exploitation Shape"@en ;
    rdfs:comment "Validation shape for secondary location exploitation instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Exploitation location may be specified."@en ;
            sh:minCount 0 ;
            sh:path cacontology-street:exploitationLocation ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:message "Distance from contact must be a non-negative decimal value in miles."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-street:distanceFromContact ] ;
    sh:targetClass cacontology-street:SecondaryLocationExploitation .