Ontology Version: 2.2.0

cacontology-corruption-shapes:AuthorityEnhancementRule leaf node


URI

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

Label

Authority Enhancement Rule

Description

Maximum authority enhancement should correlate with high corruption impact.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-corruption:UniformBasedExploitation
cacontology-corruption:hasAuthorityEnhancementLevel 1 xsd:string
cacontology-corruption:uniformDisplayed 1 xsd:boolean
cacontology-corruption:uniformType 1 xsd:string
1
cacontology-corruption:InsiderThreat
cacontology-corruption:hasDetectionDifficulty 1 xsd:string
1
cacontology-corruption:LawEnforcementCorruption
cacontology-corruption:corruptionDuration xsd:nonNegativeInteger
cacontology-corruption:hasCorruptionImpact 1 xsd:string
cacontology-corruption:hasCorruptionSeverity 1 xsd:string
cacontology-corruption:hasDataCompleteness 1 xsd:double
cacontology-corruption:hasDataQuality 1 xsd:string
cacontology-corruption:hasValidationLevel 1 xsd:string
cacontology-corruption:hasVictimVulnerability 1 xsd:double
cacontology-corruption:isDetectedBy 1 cacontology-corruption:InsiderThreatDetection
cacontology-corruption:victimCount xsd:nonNegativeInteger
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:AuthorityEnhancementRule a sh:NodeShape ;
    rdfs:label "Authority Enhancement Rule"@en ;
    rdfs:comment "Maximum authority enhancement should correlate with high corruption impact."@en ;
    sh:sparql [ sh:message "Maximum authority enhancement should have high corruption impact"@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:hasAuthorityEnhancementLevel "maximum" .
                OPTIONAL {
                    $this cacontology-corruption:hasCorruptionImpact ?impact .
                    FILTER (?impact IN ("high", "severe", "devastating"))
                }
                FILTER (!BOUND(?impact))
            }
        """ ;
            sh:severity sh:Warning ] ;
    sh:targetClass cacontology-corruption:UniformBasedExploitation .