https://cacontology.projectvic.org/specialized-units#SpecializedUnitOperationShape
Validates that specialized units participate in operations.
Instances of cacontology-specialized:SpecializedInvestigativeUnit can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|---|
@prefix cacontology-specialized: <https://cacontology.projectvic.org/specialized-units#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-specialized:SpecializedUnitOperationShape a sh:NodeShape ;
rdfs:label "Specialized Unit Operation Shape"@en ;
rdfs:comment "Validates that specialized units participate in operations."@en ;
sh:sparql [ sh:message "Specialized investigative unit should participate in at least one operation."@en ;
sh:select """
SELECT $this
WHERE {
$this a cacontology-specialized:SpecializedInvestigativeUnit .
FILTER NOT EXISTS {
$this cacontology-specialized:participatesInOperation ?operation .
}
}
""" ] ;
sh:targetClass cacontology-specialized:SpecializedInvestigativeUnit .