Ontology Version: 3.0.0

cacontology-physical-shapes:EvidenceParticipationShape leaf node


URI

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

Label

Evidence Participation Shape

Description

Validates gUFO participation constraints for physical evidence.

Shape Properties

Instances of cacontology-physical:PhysicalEvidence can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-physical:PhysicalEvidence
1 1 xsd:dateTime
1 1 xsd:string
1 1 xsd:string
1 1 xsd:string
1 1 xsd:string
1 1 xsd:string
cacontology-physical:evidenceType 1 1 xsd:string
cacontology-physical:hasContaminationLevel 1 xsd:double
cacontology-physical:hasEvidenceBeginPoint 1 xsd:dateTimeStamp
cacontology-physical:hasEvidenceEndPoint 1 xsd:dateTimeStamp
cacontology-physical:hasEvidenceIntegrity 1 xsd:string
cacontology-physical:hasEvidenceReliability 1 xsd:double
cacontology-physical:hasForensicValue 1 xsd:string
cacontology-physical:hasPreservationQuality 1 xsd:string

Implementation

@prefix cacontology-physical: <https://cacontology.projectvic.org/physical#> .
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-physical-shapes:EvidenceParticipationShape a sh:NodeShape ;
    rdfs:label "Evidence Participation Shape"@en ;
    rdfs:comment "Validates gUFO participation constraints for physical evidence."@en ;
    sh:sparql [ sh:message "Physical evidence must be associated with at least one search or procurement event (gUFO participation constraint)."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this rdf:type cacontology-physical:PhysicalEvidence .
                FILTER NOT EXISTS {
                    { $this cacontology-physical:seizedDuring ?search } UNION
                    { $this cacontology-physical:procuredBy ?procurement }
                }
            }
        """ ] ;
    sh:targetClass cacontology-physical:PhysicalEvidence .