https://cacontology.projectvic.org/law-enforcement-corruption/shapes#OfficerCareerTemporalShape
Validates temporal aspects of officer corruption career.
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 | ||||
@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:OfficerCareerTemporalShape a sh:NodeShape ;
rdfs:label "Officer Career Temporal Shape"@en ;
rdfs:comment "Validates temporal aspects of officer corruption career."@en ;
sh:property [ sh:datatype xsd:nonNegativeInteger ;
sh:maxInclusive 50 ;
sh:message "Years of service should be reasonable (0-50 years)"@en ;
sh:minInclusive 0 ;
sh:path cacontology-corruption:yearsOfService ;
sh:severity sh:Warning ],
[ sh:datatype xsd:nonNegativeInteger ;
sh:message "Corruption duration should be specified in months"@en ;
sh:minInclusive 0 ;
sh:path cacontology-corruption:corruptionDuration ;
sh:severity sh:Info ] ;
sh:targetClass cacontology-corruption:CorruptLawEnforcementOfficer .