Ontology Version: 3.1.0

cacontology-physical-shapes:CondomsShape leaf node


URI

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

Label

Condoms Shape

Description

Validation shape for condoms found as evidence.

Targets (1)

Property Constraints (5)

Focus nodes of this shape (cacontology-physical:Condoms) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-physical:agreedToBring Whether suspect agreed to bring this item during undercover communication.
sh:message May specify if suspect agreed to bring this item.
0 1 xsd:boolean
cacontology-physical:condomBrand Brand of the condoms (e.g., 'Durex').
sh:message May specify the condom brand.
0 1 xsd:string
cacontology-physical:condomQuantity Number of condoms found.
sh:message Condom quantity should be between 1 and 100.
0 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 100
cacontology-physical:foundInLocation Specific location where evidence was found (e.g., 'glove compartment').
sh:message May specify where the condoms were found.
0 1 xsd:string
rdfs:label
sh:message Condoms evidence should have a label.
0 1 rdf:langString

Implementation

@prefix cacontology-physical: <https://cacontology.projectvic.org/physical#> .
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical/shapes#> .
@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-physical: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-physical:condomQuantity ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "May specify where the condoms were found."@en ;
            sh:minCount 0 ;
            sh:path cacontology-physical: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-physical:agreedToBring ] ;
    sh:targetClass cacontology-physical:Condoms .