Ontology Version: 3.1.0

cacontology-athletic:DiscoveryPhaseShape leaf node


URI

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

Label

Discovery Phase Shape

Description

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

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:DiscoveryPhaseShape a sh:NodeShape ;
    rdfs:label "Discovery Phase Shape"@en ;
    rdfs:comment "SHACL shape for discovery phases with anti-rigid gUFO Phase validation."@en ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-athletic:DiscoveryMechanismError . }
            WHERE {
                $this a cacontology-athletic:DiscoveryPhase ;
                ?exploitation cacontology-athletic:currentPhase $this .
                FILTER NOT EXISTS { 
                    ?exploitation cacontology-athletic:hasDiscoveryEvent ?discovery ;
                    ?discovery a cacontology-athletic:AthleticExploitationDiscovery .
                }
            }
        """ ;
            sh:message "Discovery phase must involve documented discovery mechanism"@en ;
            sh:prefixes cacontology-athletic: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-athletic:DiscoveryPhase .