Ontology Version: 3.1.0

cacontology-corruption-shapes:CorruptOfficerRoleValidationShape leaf node


URI

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

Label

Corrupt Officer Role Validation Shape

Description

Validates that corrupt officer classes are properly classified as anti-rigid gUFO Roles.

Property Constraints (1)

Focus nodes of this shape (cacontology-corruption:CorruptLawEnforcementOfficer) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rdfs:subClassOf
sh:message Corrupt officer roles must extend cac-core:Role
0 *
sh:severity sh:Violation

Implementation

@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@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:CorruptOfficerRoleValidationShape a sh:NodeShape ;
    rdfs:label "Corrupt Officer Role Validation Shape"@en ;
    rdfs:comment "Validates that corrupt officer classes are properly classified as anti-rigid gUFO Roles."@en ;
    sh:property [ sh:message "Corrupt officer roles must extend cac-core:Role"@en ;
            sh:path rdfs:subClassOf ;
            sh:qualifiedMinCount 1 ;
            sh:qualifiedValueShape [ sh:class cac-core:Role ] ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-corruption:CorruptLawEnforcementOfficer .