Ontology Version: 3.0.0

cacontology-educational-shapes:IntermediateSchoolGUFOShape leaf node


URI

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

Label

gUFO Intermediate School Shape

Description

Validation shape for intermediate school institutions with gUFO Organization constraints.

Shape Properties

Instances of cacontology-educational:IntermediateSchool can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-educational:IntermediateSchool
cacontology-educational:gradeRange xsd:string
cacontology-educational:studentPopulation xsd:nonNegativeInteger
cacontology-educational:EducationalInstitution
1 1 xsd:string
cacontology-educational:studentPopulation xsd:nonNegativeInteger
1 xsd:dateTimeStamp

Implementation

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