Ontology Version: 3.1.0

cacontology-athletic:GroomingPhaseShape leaf node


URI

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

Label

Grooming Phase Shape

Description

SHACL shape for grooming phases with anti-rigid gUFO Phase validation.

Targets (1)

Property Constraints (1)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-gufo:phaseTransitionTime Temporal point when case management transitions between phases using gUFO temporal framework.
sh:message Phase may specify transition times
0 * xsd:dateTime

Implementation

@prefix cacontology-athletic: <https://cacontology.projectvic.org/athletic#> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@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:GroomingPhaseShape a sh:NodeShape ;
    rdfs:label "Grooming Phase Shape"@en ;
    rdfs:comment "SHACL shape for grooming phases with anti-rigid gUFO Phase validation."@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:message "Phase may specify transition times"@en ;
            sh:minCount 0 ;
            sh:path cacontology-gufo:phaseTransitionTime ] ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-athletic:AntiRigidityError . }
            WHERE {
                $this a cacontology-athletic:GroomingPhase .
                FILTER NOT EXISTS { 
                    $this cacontology-gufo:hasAntiRigidityConstraint ?constraint .
                }
            }
        """ ;
            sh:message "Grooming phases must demonstrate anti-rigidity (duration varies based on team dynamics)"@en ;
            sh:prefixes cacontology-athletic: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-athletic:GroomingPhase .