https://ontology.caseontology.org/icac/educational-exploitation/shapes/ClassroomExploitationContextGUFOShape
Validation shape for classroom exploitation contexts as gUFO Objects with spatial and temporal constraints.
@prefix cacontology-educational: <https://ontology.caseontology.org/icac/educational-exploitation/> .
@prefix cacontology-educational-shapes: <https://ontology.caseontology.org/icac/educational-exploitation/shapes/> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@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-educational-shapes:ClassroomExploitationContextGUFOShape a sh:NodeShape ;
rdfs:label "gUFO Classroom Exploitation Context Shape"@en ;
rdfs:comment "Validation shape for classroom exploitation contexts as gUFO Objects with spatial and temporal constraints."@en ;
sh:property [ sh:hasValue gufo:Object ;
sh:message "Classroom exploitation context must be typed as gUFO Object"@en ;
sh:minCount 1 ;
sh:path rdf:type ],
[ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Context can have at most one time point"@en ;
sh:path cacontology-gufo:contextTimePoint ],
[ sh:datatype xsd:string ;
sh:message "Classroom number must be valid format (e.g., 101, A205, 12B)"@en ;
sh:path cacontology-educational:classroomNumber ;
sh:pattern "^[A-Z]?[0-9]{1,4}[A-Z]?$" ],
[ sh:datatype xsd:string ;
sh:in ( "morning" "afternoon" "evening" "after_hours" ) ;
sh:message "Time of day must be a valid time period"@en ;
sh:path cacontology-educational:timeOfDay ],
[ sh:datatype xsd:nonNegativeInteger ;
sh:maxInclusive 35 ;
sh:message "Students present cannot exceed 35"@en ;
sh:path cacontology-educational:studentsPresent ],
[ sh:datatype xsd:string ;
sh:in ( "alone" "few_students" "class_present" ) ;
sh:message "Isolation level must be alone, few_students, or class_present"@en ;
sh:path cacontology-educational:isolationLevel ] ;
sh:targetClass cacontology-educational:ClassroomExploitationContext .