Ontology Version: 2.2.0

cacontology-legal-shapes:HighEffectivenessLegislationRule leaf node


URI

https://cacontology.projectvic.org/legal-harmonization/shapes#HighEffectivenessLegislationRule

Label

High Effectiveness Legislation Rule

Description

Highly effective legislation should have excellent implementation quality.

Shape Properties

Instances of cacontology-legal:NationalLegislation can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-legal:NationalLegislation
cacontology-legal:appliesToCountry 1 1 uco-location:Location
cacontology-legal:hasImplementationQuality 1 xsd:string
cacontology-legal:hasLegalEffectiveness 1 xsd:string
cacontology-legal:hasLegalRobustness 1 xsd:string
cacontology-legal:implementationStatus 1 1 xsd:string
cacontology-legal:legalSystemType 1 xsd:string
1

Implementation

@prefix cacontology-legal: <https://cacontology.projectvic.org/legal-harmonization#> .
@prefix cacontology-legal-shapes: <https://cacontology.projectvic.org/legal-harmonization/shapes#> .
@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-legal-shapes:HighEffectivenessLegislationRule a sh:NodeShape ;
    rdfs:label "High Effectiveness Legislation Rule"@en ;
    rdfs:comment "Highly effective legislation should have excellent implementation quality."@en ;
    sh:sparql [ sh:message "Highly effective legislation should have excellent implementation quality"@en ;
            sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/legal-harmonization#"^^xsd:anyURI ;
                            sh:prefix "cacontology-legal" ] ] ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-legal:hasLegalEffectiveness "highly_effective" .
                OPTIONAL {
                    $this cacontology-legal:hasImplementationQuality ?quality .
                    FILTER (?quality IN ("excellent", "exemplary"))
                }
                FILTER (!BOUND(?quality))
            }
        """ ;
            sh:severity sh:Warning ] ;
    sh:targetClass cacontology-legal:NationalLegislation .