Ontology Version: 3.0.0

cacontology-athletic:TeamBasedExploitationShape leaf node


URI

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

Label

Team Based Exploitation Shape

Description

Enhanced validation shape for team-based exploitation with comprehensive gUFO Situation validation.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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:TeamBasedExploitationShape a sh:NodeShape ;
    rdfs:label "Team Based Exploitation Shape"@en ;
    rdfs:comment "Enhanced validation shape for team-based exploitation with comprehensive gUFO Situation validation."@en ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a cacontology-athletic:TeamParticipationError . }
            WHERE {
                $this a cacontology-athletic:TeamBasedExploitation .
                {
                    SELECT $this (COUNT(?member) AS ?memberCount) WHERE {
                        $this cacontology-athletic:participatesInSituation ?member .
                    } GROUP BY $this
                }
                FILTER(?memberCount < 2)
            }
        """ ;
            sh:message "Team based exploitation must involve multiple team members"@en ;
            sh:prefixes cacontology-athletic: ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-athletic:TeamBasedExploitation .