Ontology Version: 2.2.0

cacontology-physical-shapes:HighValueEvidenceRule leaf node


URI

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

Label

High Value Evidence Rule

Description

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

Implementation

@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical-evidence/shapes#> .
@prefix cacontology-physical1: <https://cacontology.projectvic.org/physical-evidence#> .
@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-physical1:PhysicalEvidence .