Ontology Version: 2.2.0

cacontology-physical-shapes:ReliableAnalysisRule leaf node


URI

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

Label

Reliable Analysis Rule

Description

Advanced gUFO business rule: Highly reliable analysis requires validated methods and high accuracy.

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:ReliableAnalysisRule a sh:NodeShape ;
    rdfs:label "Reliable Analysis Rule"@en ;
    rdfs:comment "Advanced gUFO business rule: Highly reliable analysis requires validated methods and high accuracy."@en ;
    sh:sparql [ sh:message "Highly reliable analysis must use validated methods and have high accuracy ratings (gUFO business rule)."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-physical:hasAnalysisReliability "highly_reliable" .
                {
                    FILTER NOT EXISTS {
                        $this cacontology-physical:hasMethodValidation ?validation .
                        FILTER (?validation IN ("validated", "peer_reviewed", "certified"))
                    }
                } UNION {
                    FILTER NOT EXISTS {
                        $this cacontology-physical:hasAnalysisAccuracy ?accuracy .
                        FILTER (?accuracy >= 0.9)
                    }
                }
            }
        """ ] ;
    sh:targetClass cacontology-physical1:ForensicAnalystRole .