Ontology Version: 3.1.0

cacontology-corruption-shapes:QualifiedCorruptionParticipationShape leaf node


URI

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

Label

Qualified Corruption Participation Shape

Description

Validates qualified participation relationships in corruption according to gUFO patterns.

Targets (1)

Property Constraints (2)

Focus nodes of this shape (gufo:ParticipationSituation) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-corruption:concernsCorruptOfficer Links corruption situations to the officers involved - gUFO qualified relation.
sh:message Participation situation must concern exactly one corrupt officer
1 1 cacontology-corruption:CorruptLawEnforcementOfficer
sh:severity sh:Violation
gufo:hasBeginPointInXSDDateTimeStamp
sh:message Participation situation should have temporal boundaries
0 1 xsd:dateTimeStamp
sh:severity sh:Info

Implementation

@prefix cacontology-corruption: <https://cacontology.projectvic.org/law-enforcement-corruption#> .
@prefix cacontology-corruption-shapes: <https://cacontology.projectvic.org/law-enforcement-corruption/shapes#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@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:QualifiedCorruptionParticipationShape a sh:NodeShape ;
    rdfs:label "Qualified Corruption Participation Shape"@en ;
    rdfs:comment "Validates qualified participation relationships in corruption according to gUFO patterns."@en ;
    sh:property [ sh:class cacontology-corruption:CorruptLawEnforcementOfficer ;
            sh:maxCount 1 ;
            sh:message "Participation situation must concern exactly one corrupt officer"@en ;
            sh:minCount 1 ;
            sh:path cacontology-corruption:concernsCorruptOfficer ;
            sh:severity sh:Violation ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Participation situation should have temporal boundaries"@en ;
            sh:path gufo:hasBeginPointInXSDDateTimeStamp ;
            sh:severity sh:Info ] ;
    sh:targetClass gufo:ParticipationSituation .