https://cacontology.projectvic.org/athletic#AthleticFacilityExploitationShape
Enhanced validation shape for athletic facility exploitation with gUFO Event validation and facility Object modeling.
Instances of cacontology-athletic:AthleticFacilityExploitation can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|---|
@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#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-athletic:AthleticFacilityExploitationShape a sh:NodeShape ;
rdfs:label "Athletic Facility Exploitation Shape"@en ;
rdfs:comment "Enhanced validation shape for athletic facility exploitation with gUFO Event validation and facility Object modeling."@en ;
sh:property [ sh:hasValue gufo:Event ;
sh:message "Athletic facility exploitation must be instances of gUFO Event"@en ;
sh:path rdf:type ],
[ sh:datatype xsd:string ;
sh:in ( "gym" "field" "court" "pool" "track" "locker_room" "training_room" "weight_room" "other" ) ;
sh:maxCount 1 ;
sh:message "Facility type must be from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-athletic:facilityType ] ;
sh:rule [ a sh:SPARQLRule ;
sh:construct """
INSERT { $this a cacontology-athletic:FacilityAccessError . }
WHERE {
$this a cacontology-athletic:AthleticFacilityExploitation .
$this cacontology-athletic:occursInFacility ?facility .
FILTER NOT EXISTS {
?facility a gufo:Object .
?facility cacontology-athletic:facilityStatus "accessible" .
}
}
""" ;
sh:message "Athletic facility exploitation must occur in verified and accessible facilities"@en ;
sh:prefixes cacontology-athletic: ;
sh:severity sh:Violation ] ;
sh:targetClass cacontology-athletic:AthleticFacilityExploitation .