Ontology Version: 2.2.0

cacontology-athletic:ExploitationPhaseShape leaf node


URI

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

Label

Exploitation Phase Shape

Description

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

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

gufo:Phase
cacontology-infrastructure:hasPhaseBeginPoint 1 xsd:dateTimeStamp
cacontology-infrastructure:hasPhaseEndPoint 1 xsd:dateTimeStamp
cacontology-multi:hasCoordinationPhaseBeginPoint 1 xsd:dateTimeStamp
cacontology-multi:hasCoordinationPhaseEndPoint 1 xsd:dateTimeStamp
cacontology-partnerships:hasPhaseBeginPoint 1 xsd:dateTimeStamp
cacontology-partnerships:hasPhaseEndPoint 1 xsd:dateTimeStamp
cacontology-production:hasProductionPhaseBeginPoint 0 1 xsd:dateTimeStamp
cacontology-production:hasProductionPhaseEndPoint 0 1 xsd:dateTimeStamp
cacontology-temporal:hasLegalDeadline 1 xsd:dateTimeStamp
cacontology-temporal:hasMaximumDuration 1 xsd:duration
cacontology-temporal:hasMinimumDuration 1 xsd:duration
cacontology-temporal:hasTypicalDuration 1 xsd:duration
cacontology-temporal:phaseCompletionRate 1 xsd:decimal
cacontology-temporal:phaseEfficiency 1 xsd:decimal
cacontology-temporal:urgencyLevel 1 xsd:integer

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:ExploitationPhaseShape a sh:NodeShape ;
    rdfs:label "Exploitation Phase Shape"@en ;
    rdfs:comment "SHACL shape for exploitation phases with anti-rigid gUFO Phase validation."@en ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-athletic:ExploitationReadinessError . }
            WHERE {
                $this a cacontology-athletic:ExploitationPhase .
                ?exploitation cacontology-athletic:currentPhase $this .
                FILTER NOT EXISTS { 
                    ?exploitation cacontology-athletic:previousPhase ?authPhase .
                    ?authPhase a cacontology-athletic:AuthorityEstablishmentPhase .
                    ?authPhase cacontology-athletic:phaseStatus "completed" .
                }
            }
        """ ;
            sh:message "Exploitation phase must have established authority and coercion mechanisms"@en ;
            sh:prefixes cacontology-athletic: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-athletic:ExploitationPhase .