Ontology Version: 2.2.0

cacontology-athletic:HeadCoachRoleShape leaf node


URI

https://cacontology.projectvic.org/athletic#HeadCoachRoleShape

Label

Head Coach Role Shape

Description

Enhanced validation shape for head coach roles with leadership gUFO Role validation.

Shape Properties

Instances of cacontology-athletic:HeadCoachRole can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-athletic:AthleticCoachRole
1 1 xsd:string
cacontology-athletic:coachingExperience 0 1 xsd:decimal
0 1 xsd:string
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

Implementation

@prefix cacontology-athletic: <https://cacontology.projectvic.org/athletic#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-athletic:HeadCoachRoleShape a sh:NodeShape ;
    rdfs:label "Head Coach Role Shape"@en ;
    rdfs:comment "Enhanced validation shape for head coach roles with leadership gUFO Role validation."@en ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-athletic:LeadershipCompetencyError . }
            WHERE {
                $this a cacontology-athletic:HeadCoachRole .
                FILTER NOT EXISTS { 
                    $this cacontology-athletic:hasCompetency ?competency .
                    ?competency cacontology-athletic:competencyType "team_leadership" .
                }
            }
        """ ;
            sh:message "Head coach roles must demonstrate leadership competency"@en ;
            sh:prefixes cacontology-athletic: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-athletic:HeadCoachRole .