Ontology Version: 3.1.0

cacontology-educational-shapes:ClassroomExploitationContextGUFOShape leaf node


URI

https://cacontology.projectvic.org/educational/shapes#ClassroomExploitationContextGUFOShape

Label

gUFO Classroom Exploitation Context Shape

Description

Validation shape for classroom exploitation contexts as gUFO Objects with spatial and temporal constraints.

Property Constraints (5)

Focus nodes of this shape (cacontology-educational:ClassroomExploitationContext) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-educational:classroomNumber Classroom number or identifier where exploitation occurred.
sh:message Classroom number must be valid format (e.g., 101, A205, 12B)
0 * xsd:string
sh:pattern ^[A-Z]?[0-9]{1,4}[A-Z]?$
cacontology-educational:isolationLevel Level of isolation during exploitation (alone, few_students, class_present).
sh:message Isolation level must be alone, few_students, or class_present
0 * xsd:string
sh:in alone, few_students, class_present
cacontology-educational:studentsPresent Number of other students present during exploitation.
sh:message Students present cannot exceed 35
0 * xsd:nonNegativeInteger
sh:maxInclusive 35
cacontology-educational:timeOfDay Time of day when exploitation occurred.
sh:message Time of day must be a valid time period
0 * xsd:string
sh:in morning, afternoon, evening, after_hours
cacontology-gufo:contextTimePoint
sh:message Context can have at most one time point
0 1 xsd:dateTimeStamp

Implementation

@prefix cacontology-educational: <https://cacontology.projectvic.org/educational#> .
@prefix cacontology-educational-shapes: <https://cacontology.projectvic.org/educational/shapes#> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/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: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 .