https://ontology.caseontology.org/icac/educational-exploitation/shapes/IntermediateSchoolGUFOShape
Validation shape for intermediate school institutions with gUFO Organization constraints.
@prefix cacontology-educational: <https://ontology.caseontology.org/icac/educational-exploitation/> .
@prefix cacontology-educational-shapes: <https://ontology.caseontology.org/icac/educational-exploitation/shapes/> .
@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:IntermediateSchoolGUFOShape a sh:NodeShape ;
rdfs:label "gUFO Intermediate School Shape"@en ;
rdfs:comment "Validation shape for intermediate school institutions with gUFO Organization constraints."@en ;
sh:property [ sh:hasValue gufo:Organization ;
sh:message "Intermediate school must be typed as gUFO Organization"@en ;
sh:minCount 1 ;
sh:path rdf:type ],
[ sh:datatype xsd:string ;
sh:message "Grade range must be valid intermediate school range (6-8)"@en ;
sh:path cacontology-educational:gradeRange ;
sh:pattern "^[6-8](-[6-8])?$" ],
[ sh:datatype xsd:nonNegativeInteger ;
sh:maxInclusive 2000 ;
sh:message "Student population must be between 50 and 2000 for intermediate schools"@en ;
sh:minInclusive 50 ;
sh:path cacontology-educational:studentPopulation ] ;
sh:targetClass cacontology-educational:IntermediateSchool .