Ontology Version: 2.2.0

cacontology-prevention:SafetyProtocolImplementationValidationShape leaf node


URI

https://cacontology.projectvic.org/prevention#SafetyProtocolImplementationValidationShape

Label

Safety Protocol Implementation Validation Shape

Description

Validates that safety protocols are implemented by organizations.

Shape Properties

Instances of cacontology-prevention:SafetyProtocol can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-prevention:SafetyProtocol
cacontology-prevention:implementationStatus 0 1 xsd:string
1 1 xsd:string

Implementation

@prefix cacontology-prevention: <https://cacontology.projectvic.org/prevention#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-prevention:SafetyProtocolImplementationValidationShape a sh:NodeShape ;
    rdfs:label "Safety Protocol Implementation Validation Shape"@en ;
    rdfs:comment "Validates that safety protocols are implemented by organizations."@en ;
    sh:sparql [ sh:message "Safety protocol should be implemented by organizations."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this a cacontology-prevention:SafetyProtocol .
                FILTER NOT EXISTS {
                    ?org cacontology-prevention:implementsProtocol $this .
                    ?org a uco-identity:Organization .
                }
            }
        """ ] ;
    sh:targetClass cacontology-prevention:SafetyProtocol .