https://cacontology.projectvic.org/taskforce#CommanderValidationShape
Validates task force commander requirements.
Instances of cacontology-taskforce:TaskForceCommander can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-taskforce:TaskForceMember | ||||
| cacontology-taskforce:memberRole | 1 | 1 |
xsd:string
|
|
| 0 | 1 |
xsd:dateTime
|
||
| 1 | 1 |
xsd:dateTime
|
||
| 1 | 1 |
xsd:string
|
||
| 0 | 1 |
xsd:string
|
||
| 1 | 1 |
xsd:boolean
|
||
@prefix cacontology-taskforce: <https://cacontology.projectvic.org/taskforce#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-taskforce:CommanderValidationShape a sh:NodeShape ;
rdfs:label "Commander Validation Shape"@en ;
rdfs:comment "Validates task force commander requirements."@en ;
sh:sparql [ sh:message "Task force commander should have significant experience."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-taskforce:yearsExperience ?experience .
FILTER (?experience < 5.0)
}
""" ] ;
sh:targetClass cacontology-taskforce:TaskForceCommander .