Ontology Version: 2.2.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.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-athletic:AthleticCoachingExploitation
cacontology-athletic:currentPhase 0 1 gufo:Phase
cacontology-athletic:holdsCoachingRole 1 cacontology-athletic:AthleticCoachRole
cacontology-athletic:sportType 1 1 xsd:string
1 1 xsd:nonNegativeInteger
cacontology-athletic:teamType 1 1 xsd:string
cacontology-gufo:exploitationBeginTime 1 1 xsd:dateTime
cacontology-gufo:exploitationEndTime 0 1 xsd:dateTime

Implementation

@prefix cacontology-athletic: <https://cacontology.projectvic.org/athletic#> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@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: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:hasValue gufo:Event ;
            sh:message "Athletic coaching exploitation must be instances of gUFO Event"@en ;
            sh:path rdf:type ],
        [ 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: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: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: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: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 gufo:Phase ;
            sh:maxCount 1 ;
            sh:message "Athletic coaching exploitation may specify current operational phase"@en ;
            sh:minCount 0 ;
            sh:path cacontology-athletic:currentPhase ],
        [ 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: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 .