Ontology Version: 3.0.0

cacontology-physical-shapes:HighValueEvidenceRule leaf node


URI

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

Label

High Value Evidence Rule

Description

Advanced gUFO business rule: High forensic value evidence should have excellent integrity and preservation.

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:HighValueEvidenceRule a sh:NodeShape ;
    rdfs:label "High Value Evidence Rule"@en ;
    rdfs:comment "Advanced gUFO business rule: High forensic value evidence should have excellent integrity and preservation."@en ;
    sh:sparql [ sh:message "Critical or high forensic value evidence must have excellent integrity and preservation quality (gUFO business rule)."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-physical:hasForensicValue ?value .
                FILTER (?value IN ("critical", "high"))
                {
                    FILTER NOT EXISTS {
                        $this cacontology-physical:hasEvidenceIntegrity ?integrity .
                        FILTER (?integrity IN ("excellent", "pristine"))
                    }
                } UNION {
                    FILTER NOT EXISTS {
                        $this cacontology-physical:hasPreservationQuality ?preservation .
                        FILTER (?preservation IN ("excellent", "optimal"))
                    }
                }
            }
        """ ] ;
    sh:targetClass cacontology-physical:PhysicalEvidence .