Ontology Version: 3.0.0

cacontology-educational-shapes:EducationalInstitutionGUFOShape leaf node


URI

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

Label

gUFO Educational Institution Shape

Description

Validates educational institution instances with gUFO foundational constraints as Organizations.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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 cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@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:EducationalInstitutionGUFOShape a sh:NodeShape ;
    rdfs:label "gUFO Educational Institution Shape"@en ;
    rdfs:comment "Validates educational institution instances with gUFO foundational constraints as Organizations."@en ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Educational institution can have at most one establishment time point"@en ;
            sh:path cacontology-gufo:establishmentTimePoint ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Institution name must be between 2 and 200 characters"@en ;
            sh:minCount 1 ;
            sh:minLength 2 ;
            sh:path cacontology-educational:institutionName ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxInclusive 50000 ;
            sh:message "Student population must be between 10 and 50,000"@en ;
            sh:minInclusive 10 ;
            sh:path cacontology-educational:studentPopulation ] ;
    sh:targetClass cacontology-educational:EducationalInstitution .