Ontology Version: 3.1.0

cacontology-corruption-shapes:DetectionTemporalShape leaf node


URI

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

Label

Detection Temporal Shape

Description

Validates temporal constraints for corruption detection activities.

Property Constraints (2)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
gufo:hasBeginPointInXSDDateTimeStamp
sh:message Detection activities should specify start time
0 1 xsd:dateTimeStamp
sh:severity sh:Info
gufo:hasEndPointInXSDDateTimeStamp
sh:message Detection activities should specify end time
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:DetectionTemporalShape a sh:NodeShape ;
    rdfs:label "Detection Temporal Shape"@en ;
    rdfs:comment "Validates temporal constraints for corruption detection activities."@en ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Detection activities should specify end time"@en ;
            sh:path gufo:hasEndPointInXSDDateTimeStamp ;
            sh:severity sh:Info ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Detection activities should specify start time"@en ;
            sh:path gufo:hasBeginPointInXSDDateTimeStamp ;
            sh:severity sh:Info ] ;
    sh:targetClass cacontology-corruption:InsiderThreatDetection .