Ontology Version: 2.2.0

cacontology-corruption-shapes:EvidenceIntegrityRule leaf node


URI

https://cacontology.projectvic.org/law-enforcement-corruption/shapes#EvidenceIntegrityRule

Label

Evidence Integrity Rule

Description

Low evidence integrity should be flagged for validation concerns.

Shape Properties

Instances of cacontology-corruption:InsiderThreatDetection can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-corruption:InsiderThreatDetection
cacontology-corruption:hasEvidenceIntegrity 1 xsd:double
cacontology-corruption:hasInvestigationComplexity 1 xsd:string
1

Implementation

@prefix cacontology-corruption: <https://cacontology.projectvic.org/law-enforcement-corruption#> .
@prefix cacontology-corruption-shapes: <https://cacontology.projectvic.org/law-enforcement-corruption/shapes#> .
@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-corruption-shapes:EvidenceIntegrityRule a sh:NodeShape ;
    rdfs:label "Evidence Integrity Rule"@en ;
    rdfs:comment "Low evidence integrity should be flagged for validation concerns."@en ;
    sh:sparql [ sh:message "Low evidence integrity requires enhanced validation"@en ;
            sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/law-enforcement-corruption#"^^xsd:anyURI ;
                            sh:prefix "cacontology-corruption" ] ] ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-corruption:hasEvidenceIntegrity ?integrity .
                FILTER (?integrity < 0.5)
                OPTIONAL {
                    $this cacontology-corruption:hasValidationLevel ?validation .
                    FILTER (?validation IN ("comprehensive", "full_verification"))
                }
                FILTER (!BOUND(?validation))
            }
        """ ;
            sh:severity sh:Warning ] ;
    sh:targetClass cacontology-corruption:InsiderThreatDetection .