https://cacontology.projectvic.org/athletic#AthleticCoachRoleShape
Enhanced validation shape for athletic coach roles with anti-rigid gUFO Role validation.
Instances of cacontology-athletic:AthleticCoachRole 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
|
|
@prefix cacontology-athletic: <https://cacontology.projectvic.org/athletic#> .
@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#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-athletic:AthleticCoachRoleShape a sh:NodeShape ;
rdfs:label "Athletic Coach Role Shape"@en ;
rdfs:comment "Enhanced validation shape for athletic coach roles with anti-rigid gUFO Role validation."@en ;
sh:property [ sh:hasValue gufo:Role ;
sh:message "Athletic coach roles must be instances of anti-rigid gUFO Role"@en ;
sh:path rdf:type ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 50.0 ;
sh:message "Coaching experience must be between 0 and 50 years."@en ;
sh:minCount 0 ;
sh:minInclusive 0.0 ;
sh:path cacontology-athletic:coachingExperience ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:message "Age group coached must be in format like '12-14', '15', 'under_18', or 'over_21'."@en ;
sh:minCount 1 ;
sh:path cacontology-athletic:ageGroupCoached ;
sh:pattern "^[0-9]+-[0-9]+$|^[0-9]+$|^under_[0-9]+$|^over_[0-9]+$" ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 200 ;
sh:message "Institutional affiliation must be between 1 and 200 characters."@en ;
sh:minCount 0 ;
sh:minLength 1 ;
sh:path cacontology-athletic:institutionalAffiliation ] ;
sh:rule [ a sh:SPARQLRule ;
sh:construct """
INSERT { $this a cacontology-athletic:CoachCompetencyError . }
WHERE {
$this a cacontology-athletic:AthleticCoachRole .
FILTER NOT EXISTS {
$this cacontology-athletic:hasCompetency ?competency .
?competency cacontology-athletic:competencyType "athletic_coaching" .
}
}
""" ;
sh:message "Athletic coach roles must have appropriate training and certification"@en ;
sh:prefixes cacontology-athletic: ;
sh:severity sh:Violation ] ;
sh:targetClass cacontology-athletic:AthleticCoachRole .