Ontology Version: 2.2.0

cacontology-taskforce:CommanderValidationShape leaf node


URI

https://cacontology.projectvic.org/taskforce#CommanderValidationShape

Label

Commander Validation Shape

Description

Validates task force commander requirements.

Shape Properties

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

Implementation

@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 .