Ontology Version: 3.1.0

cacontology-athletic:AthleticCoachingExploitationShape leaf node


URI

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

Label

Athletic Coaching Exploitation Shape

Description

Enhanced validation shape for athletic coaching exploitation with comprehensive gUFO Event validation.

Property Constraints (7)

Focus nodes of this shape (cacontology-athletic:AthleticCoachingExploitation) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-athletic:currentPhase Links athletic exploitation to its current operational phase. gUFO Phase modeling for exploitation state management.
sh:message Athletic coaching exploitation may specify current operational phase
0 1 cac-core:Phase
cacontology-athletic:holdsCoachingRole Links person to coaching role they hold. Enhanced with gUFO Role assignment.
sh:message Athletic coaching exploitation must involve at least one coaching role
1 * cacontology-athletic:AthleticCoachRole
cacontology-athletic:sportType Type of sport (baseball, basketball, soccer, football, tennis, etc.). Enhanced with gUFO Object classification.
sh:message Athletic coaching exploitation must specify exactly one sport type from the allowed list.
1 1 xsd:string
sh:in baseball, basketball, soccer, football, tennis, swimming, track, volleyball, wrestling, gymnastics, hockey, lacrosse, softball, golf, cross_country, other
cacontology-athletic:teamSize
sh:message Team size must be between 1 and 50 players.
1 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 50
cacontology-athletic:teamType Type of team (travel, school, club, recreational, competitive). Enhanced with gUFO Organization classification.
sh:message Athletic coaching exploitation must specify exactly one team type from the allowed list.
1 1 xsd:string
sh:in travel, school, club, recreational, competitive, elite, youth_league, select
cacontology-gufo:exploitationBeginTime Temporal point when athletic exploitation begins using gUFO temporal framework.
sh:message Athletic coaching exploitation must specify begin time using gUFO temporal framework
1 1 xsd:dateTime
cacontology-gufo:exploitationEndTime Temporal point when athletic exploitation ends using gUFO temporal framework.
sh:message Athletic coaching exploitation may specify end time using gUFO temporal framework
0 1 xsd:dateTime

Implementation

@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@prefix cacontology-athletic: <https://cacontology.projectvic.org/athletic#> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/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:AthleticCoachingExploitationShape a sh:NodeShape ;
    rdfs:label "Athletic Coaching Exploitation Shape"@en ;
    rdfs:comment "Enhanced validation shape for athletic coaching exploitation with comprehensive gUFO Event validation."@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Athletic coaching exploitation must specify begin time using gUFO temporal framework"@en ;
            sh:minCount 1 ;
            sh:path cacontology-gufo:exploitationBeginTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Athletic coaching exploitation may specify end time using gUFO temporal framework"@en ;
            sh:minCount 0 ;
            sh:path cacontology-gufo:exploitationEndTime ],
        [ sh:datatype xsd:string ;
            sh:in ( "travel" "school" "club" "recreational" "competitive" "elite" "youth_league" "select" ) ;
            sh:maxCount 1 ;
            sh:message "Athletic coaching exploitation must specify exactly one team type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-athletic:teamType ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 50 ;
            sh:message "Team size must be between 1 and 50 players."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-athletic:teamSize ],
        [ sh:datatype xsd:string ;
            sh:in ( "baseball" "basketball" "soccer" "football" "tennis" "swimming" "track" "volleyball" "wrestling" "gymnastics" "hockey" "lacrosse" "softball" "golf" "cross_country" "other" ) ;
            sh:maxCount 1 ;
            sh:message "Athletic coaching exploitation must specify exactly one sport type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-athletic:sportType ],
        [ sh:class cacontology-athletic:AthleticCoachRole ;
            sh:message "Athletic coaching exploitation must involve at least one coaching role"@en ;
            sh:minCount 1 ;
            sh:path cacontology-athletic:holdsCoachingRole ],
        [ sh:class cac-core:Phase ;
            sh:maxCount 1 ;
            sh:message "Athletic coaching exploitation may specify current operational phase"@en ;
            sh:minCount 0 ;
            sh:path cacontology-athletic:currentPhase ] ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-athletic:TemporalInconsistencyError . }
            WHERE {
                $this cacontology-gufo:exploitationBeginTime ?begin .
                $this cacontology-gufo:exploitationEndTime ?end .
                FILTER(?end <= ?begin)
            }
        """ ;
            sh:message "Exploitation end time must be after begin time"@en ;
            sh:prefixes cacontology-athletic: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-athletic:AthleticCoachingExploitation .