Ontology Version: 2.2.0

cacontology-legal-shapes:ComprehensiveHarmonizationRule leaf node


URI

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

Label

Comprehensive Harmonization Rule

Description

Comprehensive harmonization should involve strong treaty frameworks.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-legal:PolicyHarmonization
cacontology-legal:hasHarmonizationDegree 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:ComprehensiveHarmonizationRule a sh:NodeShape ;
    rdfs:label "Comprehensive Harmonization Rule"@en ;
    rdfs:comment "Comprehensive harmonization should involve strong treaty frameworks."@en ;
    sh:sparql [ sh:message "Comprehensive harmonization should involve strong treaty frameworks"@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:hasHarmonizationDegree ?degree .
                FILTER (?degree IN ("comprehensive", "complete"))
                OPTIONAL {
                    ?treaty cacontology-legal:facilitatesCooperation ?cooperation .
                    ?cooperation rdf:type cacontology-legal:InternationalLawEnforcement .
                    ?treaty cacontology-legal:hasTreatyStrength ?strength .
                    FILTER (?strength IN ("binding", "comprehensive"))
                }
                FILTER (!BOUND(?strength))
            }
        """ ;
            sh:severity sh:Warning ] ;
    sh:targetClass cacontology-legal:PolicyHarmonization .