Ontology Version: 2.2.0

cacontology-legal-shapes:InternationalCooperationFrameworkRule leaf node


URI

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

Label

International Cooperation Framework Rule

Description

International law enforcement must be supported by proper legal framework.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-legal:InternationalLawEnforcement
cacontology-legal:hasCooperationIntensity 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:InternationalCooperationFrameworkRule a sh:NodeShape ;
    rdfs:label "International Cooperation Framework Rule"@en ;
    rdfs:comment "International law enforcement must be supported by proper legal framework."@en ;
    sh:sparql [ sh:message "International law enforcement must be supported by treaty or extradition framework"@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 a cacontology-legal:InternationalLawEnforcement .
                FILTER NOT EXISTS {
                    { ?treaty cacontology-legal:facilitatesCooperation $this . }
                    UNION
                    { ?agreement cacontology-legal:enablesExtradition $this . }
                }
            }
        """ ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-legal:InternationalLawEnforcement .