Ontology Version: 3.1.0

cacontology-training:TrainingReachValidationShape leaf node


URI

https://cacontology.projectvic.org/training#TrainingReachValidationShape

Label

Training Reach Validation Shape

Description

Validates training reach consistency by delivery method.

Implementation

@prefix cacontology-training: <https://cacontology.projectvic.org/training#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-training:TrainingReachValidationShape a sh:NodeShape ;
    rdfs:label "Training Reach Validation Shape"@en ;
    rdfs:comment "Validates training reach consistency by delivery method."@en ;
    sh:sparql [ sh:message "Training reach should be consistent with delivery method capabilities."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this a cacontology-training:InPersonTraining ;
                      cacontology-training:trainingReachCount ?reach .
                FILTER (?reach > 1000)
            }
        """ ] ;
    sh:targetClass cacontology-training:HybridTraining,
        cacontology-training:InPersonTraining,
        cacontology-training:OnlineTraining .