Ontology Version: 2.2.0

cacontology-legal-shapes:TreatyFrameworkCompositionShape leaf node


URI

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

Label

Treaty Framework Composition Shape

Description

Validates compositional structure of treaty frameworks.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-legal:TreatyFramework
cacontology-legal:appliesToCountry 3 uco-location:Location
cacontology-legal:facilitatesCooperation 1 cacontology-legal:InternationalLawEnforcement
cacontology-legal:hasTreatyStrength 1 xsd:string
1
1 1 xsd:string

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:TreatyFrameworkCompositionShape a sh:NodeShape ;
    rdfs:label "Treaty Framework Composition Shape"@en ;
    rdfs:comment "Validates compositional structure of treaty frameworks."@en ;
    sh:property [ sh:class cacontology-legal:NationalLegislation ;
            sh:message "Treaty framework should include implementing legislation from member countries"@en ;
            sh:minCount 2 ;
            sh:path [ sh:inversePath cacontology-legal:isComponentOf ] ;
            sh:severity sh:Warning ] ;
    sh:targetClass cacontology-legal:TreatyFramework .