https://cacontology.projectvic.org/law-enforcement-corruption/shapes#HighSeverityCorruptionRule
High severity corruption should have comprehensive detection efforts.
@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:HighSeverityCorruptionRule a sh:NodeShape ;
rdfs:label "High Severity Corruption Rule"@en ;
rdfs:comment "High severity corruption should have comprehensive detection efforts."@en ;
sh:sparql [ sh:message "High severity corruption should have comprehensive investigation"@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:hasCorruptionSeverity ?severity .
FILTER (?severity IN ("severe", "extreme"))
OPTIONAL {
$this cacontology-corruption:isDetectedBy ?detection ;
?detection cacontology-corruption:hasInvestigationComplexity ?complexity .
FILTER (?complexity IN ("complex", "highly_complex", "extremely_complex"))
}
FILTER (!BOUND(?complexity))
}
""" ;
sh:severity sh:Warning ] ;
sh:targetClass cacontology-corruption:LawEnforcementCorruption .