https://cacontology.projectvic.org/athletic#TeamBasedExploitationShape
Enhanced validation shape for team-based exploitation with comprehensive gUFO Situation validation.
Instances of cacontology-athletic:TeamBasedExploitation 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
|
|
@prefix cacontology-athletic: <https://cacontology.projectvic.org/athletic#> .
@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#> .
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:property [ sh:hasValue gufo:Situation ;
sh:message "Team based exploitation must be instances of gUFO Situation"@en ;
sh:path rdf:type ] ;
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 .