Ontology Version: 3.1.0

cacontology-platforms:DataRetentionCrossReferenceShape leaf node


URI

https://cacontology.projectvic.org/platforms#DataRetentionCrossReferenceShape

Label

Data Retention Cross Reference Shape

Description

Validates that service providers have data retention policies.

Implementation

@prefix cacontology-platforms: <https://cacontology.projectvic.org/platforms#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-platforms:DataRetentionCrossReferenceShape a sh:NodeShape ;
    rdfs:label "Data Retention Cross Reference Shape"@en ;
    rdfs:comment "Validates that service providers have data retention policies."@en ;
    sh:sparql [ sh:message "Electronic service providers should have associated data retention policies."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this a cacontology-platforms:ElectronicServiceProvider .
                FILTER NOT EXISTS {
                    ?platform cacontology-platforms:operatedBy $this ;
                              cacontology-platforms:hasDataRetentionPolicy ?policy .
                }
            }
        """ ] ;
    sh:targetClass cacontology-platforms:ElectronicServiceProvider .