Ontology Version: 3.1.0

cacontology-legal-shapes:LegalFrameworkCompositionShape leaf node


URI

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

Label

Legal Framework Composition Shape

Description

Validates compositional structure of legal frameworks following gUFO part-whole patterns.

Targets (1)

Property Constraints (1)

Focus nodes of this shape (cacontology-legal:RegionalFramework) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
^cacontology-legal:isComponentOf
sh:message Regional framework must include legislation from at least three countries
3 * cacontology-legal:NationalLegislation
sh:severity sh:Violation

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:LegalFrameworkCompositionShape a sh:NodeShape ;
    rdfs:label "Legal Framework Composition Shape"@en ;
    rdfs:comment "Validates compositional structure of legal frameworks following gUFO part-whole patterns."@en ;
    sh:property [ sh:class cacontology-legal:NationalLegislation ;
            sh:message "Regional framework must include legislation from at least three countries"@en ;
            sh:minCount 3 ;
            sh:path [ sh:inversePath cacontology-legal:isComponentOf ] ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-legal:RegionalFramework .