Ontology Version: 3.1.0

cacontology-educational-shapes:WrittenHarassmentGUFOShape leaf node


URI

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

Label

gUFO Written Harassment Shape

Description

Validation shape for written harassment activities with gUFO Event temporal tracking.

Targets (1)

Property Constraints (3)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-educational:harassmentContent Content of written harassment message or comment.
sh:message Harassment content must be between 1 and 500 characters
0 * xsd:string
sh:minLength 1
sh:maxLength 500
cacontology-educational:harassmentFrequency Frequency of written harassment incidents.
sh:message Harassment frequency must be a valid frequency level
0 * xsd:string
sh:in single_incident, occasional, frequent, systematic
cacontology-educational:harassmentMedium Medium used for written harassment (assignment, test, note).
sh:message Harassment medium must be a valid academic medium
0 * xsd:string
sh:in assignment, test, homework, note, report_card, feedback

Implementation

@prefix cacontology-educational: <https://cacontology.projectvic.org/educational#> .
@prefix cacontology-educational-shapes: <https://cacontology.projectvic.org/educational/shapes#> .
@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:WrittenHarassmentGUFOShape a sh:NodeShape ;
    rdfs:label "gUFO Written Harassment Shape"@en ;
    rdfs:comment "Validation shape for written harassment activities with gUFO Event temporal tracking."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxLength 500 ;
            sh:message "Harassment content must be between 1 and 500 characters"@en ;
            sh:minLength 1 ;
            sh:path cacontology-educational:harassmentContent ],
        [ sh:datatype xsd:string ;
            sh:in ( "assignment" "test" "homework" "note" "report_card" "feedback" ) ;
            sh:message "Harassment medium must be a valid academic medium"@en ;
            sh:path cacontology-educational:harassmentMedium ],
        [ sh:datatype xsd:string ;
            sh:in ( "single_incident" "occasional" "frequent" "systematic" ) ;
            sh:message "Harassment frequency must be a valid frequency level"@en ;
            sh:path cacontology-educational:harassmentFrequency ] ;
    sh:targetClass cacontology-educational:WrittenHarassment .