Ontology Version: 2.2.0

cacontology-corruption-shapes:TrustBetrayalRule leaf node


URI

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

Label

Trust Betrayal Rule

Description

Complete trust betrayal should correlate with high position exploitation.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-corruption:CorruptLawEnforcementOfficer
cacontology-corruption:authorityLevel 1 xsd:string
cacontology-corruption:corruptionDuration xsd:nonNegativeInteger
cacontology-corruption:departmentAffiliation 1 xsd:string
cacontology-corruption:employmentStatus 1 xsd:string
cacontology-corruption:hasCorruptionDependency 1 xsd:string
cacontology-corruption:hasPositionExploitationLevel 1 xsd:double
cacontology-corruption:hasTrustBetrayalLevel 1 xsd:string
cacontology-corruption:participatesIn 1 cacontology-corruption:LawEnforcementCorruption
cacontology-corruption:yearsOfService 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:TrustBetrayalRule a sh:NodeShape ;
    rdfs:label "Trust Betrayal Rule"@en ;
    rdfs:comment "Complete trust betrayal should correlate with high position exploitation."@en ;
    sh:sparql [ sh:message "Complete trust betrayal should have high position exploitation"@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:hasTrustBetrayalLevel "complete" .
                OPTIONAL {
                    $this cacontology-corruption:hasPositionExploitationLevel ?exploitation .
                    FILTER (?exploitation >= 0.7)
                }
                FILTER (!BOUND(?exploitation))
            }
        """ ;
            sh:severity sh:Warning ] ;
    sh:targetClass cacontology-corruption:CorruptLawEnforcementOfficer .