Ontology Version: 3.1.0

cacontology-institutional:OrphanageShape leaf node


URI

https://cacontology.projectvic.org/institutional-exploitation#OrphanageShape

Label

Orphanage Shape

Description

Validation shape for orphanage instances with gUFO integration.

Targets (1)

Property Constraints (2)

Focus nodes of this shape (cacontology-institutional:Orphanage) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-institutional:childrenServed Number of children served by institution during operation.
sh:message Orphanage must specify number of children served (1-500).
1 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 500
cacontology-institutional:hasVulnerabilityLevel Level of vulnerability of child population (gUFO quality aspect).
sh:message Orphanage must specify vulnerability level of children (gUFO quality aspect)
1 1 xsd:string
sh:in low, moderate, high, extreme, critical

Implementation

@prefix cacontology-institutional: <https://cacontology.projectvic.org/institutional-exploitation#> .
@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-institutional:OrphanageShape a sh:NodeShape ;
    rdfs:label "Orphanage Shape"@en ;
    rdfs:comment "Validation shape for orphanage instances with gUFO integration."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 500 ;
            sh:message "Orphanage must specify number of children served (1-500)."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-institutional:childrenServed ],
        [ sh:datatype xsd:string ;
            sh:in ( "low" "moderate" "high" "extreme" "critical" ) ;
            sh:maxCount 1 ;
            sh:message "Orphanage must specify vulnerability level of children (gUFO quality aspect)"@en ;
            sh:minCount 1 ;
            sh:path cacontology-institutional:hasVulnerabilityLevel ] ;
    sh:targetClass cacontology-institutional:Orphanage .