Ontology Version: 2.3.0

cacontology-physical-shapes:CondomsShape leaf node


URI

https://cacontology.projectvic.org/physical-evidence/shapes#CondomsShape

Label

Condoms Shape

Description

Validation shape for condoms found as evidence.

Implementation

@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical-evidence/shapes#> .
@prefix cacontology-physical1: <https://cacontology.projectvic.org/physical-evidence#> .
@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-physical-shapes:CondomsShape a sh:NodeShape ;
    rdfs:label "Condoms Shape"@en ;
    rdfs:comment "Validation shape for condoms found as evidence."@en ;
    sh:property [ sh:datatype rdf:langString ;
            sh:maxCount 1 ;
            sh:message "Condoms evidence should have a label."@en ;
            sh:minCount 0 ;
            sh:path rdfs:label ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "May specify the condom brand."@en ;
            sh:minCount 0 ;
            sh:path cacontology-physical1:condomBrand ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 100 ;
            sh:message "Condom quantity should be between 1 and 100."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-physical1:condomQuantity ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "May specify where the condoms were found."@en ;
            sh:minCount 0 ;
            sh:path cacontology-physical1:foundInLocation ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "May specify if suspect agreed to bring this item."@en ;
            sh:minCount 0 ;
            sh:path cacontology-physical1:agreedToBring ] ;
    sh:targetClass cacontology-physical1:Condoms .