Ontology Version: 2.2.0

cacontology-corruption-shapes:CorruptionEventTypeValidationShape leaf node


URI

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

Label

Corruption Event Type Validation Shape

Description

Validates that corruption activities are properly classified as gUFO Events and EventTypes.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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 gufo: <http://purl.org/nemo/gufo#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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:CorruptionEventTypeValidationShape a sh:NodeShape ;
    rdfs:label "Corruption Event Type Validation Shape"@en ;
    rdfs:comment "Validates that corruption activities are properly classified as gUFO Events and EventTypes."@en ;
    sh:property [ sh:hasValue gufo:EventType ;
            sh:maxCount 1 ;
            sh:message "Corruption activities must be classified as gUFO EventType"@en ;
            sh:minCount 1 ;
            sh:path rdf:type ;
            sh:severity sh:Violation ],
        [ sh:message "Corruption activities must extend gUFO Event"@en ;
            sh:path rdfs:subClassOf ;
            sh:qualifiedMinCount 1 ;
            sh:qualifiedValueShape [ sh:class gufo:Event ] ;
            sh:severity sh:Violation ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Corruption events should have temporal boundaries"@en ;
            sh:path gufo:hasBeginPointInXSDDateTimeStamp ;
            sh:severity sh:Warning ] ;
    sh:targetClass cacontology-corruption:LawEnforcementCorruption .