https://cacontology.projectvic.org/asset-forfeiture#AssetForfeitureOfficerShape
SHACL shape for asset forfeiture officer roles with anti-rigid gUFO Role validation.
Instances of cacontology-asset-forfeiture:AssetForfeitureOfficer can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| gufo:Role | ||||
| cacontology-infrastructure:hasRoleBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-infrastructure:hasRoleEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-multi:hasRoleBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-multi:hasRoleEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-partnerships:hasRoleBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-partnerships:hasRoleEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-production:hasRoleBeginPoint | 0 | 1 |
xsd:dateTimeStamp
|
|
| cacontology-production:hasRoleEndPoint | 0 | 1 |
xsd:dateTimeStamp
|
|
@prefix cacontology-asset-forfeiture: <https://cacontology.projectvic.org/asset-forfeiture#> .
@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#> .
cacontology-asset-forfeiture:AssetForfeitureOfficerShape a sh:NodeShape ;
rdfs:label "Asset Forfeiture Officer Shape"@en ;
rdfs:comment "SHACL shape for asset forfeiture officer roles with anti-rigid gUFO Role validation."@en ;
sh:property [ sh:hasValue gufo:Role ;
sh:message "Asset forfeiture officers must be instances of anti-rigid gUFO Role"@en ;
sh:path rdf:type ] ;
sh:rule [ a sh:SPARQLRule ;
sh:construct """
INSERT { $this a cacontology-asset-forfeiture:CompetencyValidationError . }
WHERE {
$this a cacontology-asset-forfeiture:AssetForfeitureOfficer .
FILTER NOT EXISTS {
$this cacontology-asset-forfeiture:hasCompetency ?competency .
?competency cacontology-asset-forfeiture:competencyType "asset_forfeiture" .
}
}
""" ;
sh:message "Asset forfeiture officers must have appropriate training and certification"@en ;
sh:prefixes cacontology-asset-forfeiture: ;
sh:severity sh:Violation ] ;
sh:targetClass cacontology-asset-forfeiture:AssetForfeitureOfficer .