Ontology Version: 2.2.0

cacontology-legal-shapes:LegalReformShape leaf node


URI

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

Label

Legal Reform Shape

Description

Enhanced shape for legal reform processes with urgency assessment. - Reform priority must be specified. - Reform name must contain 'Reform'.

Target Classes (1)

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-legal:LegalReform
cacontology-legal:hasReformUrgency 1 xsd:string
cacontology-legal:reformPriority 1 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 gufo: <http://purl.org/nemo/gufo#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-legal-shapes:LegalReformShape a sh:NodeShape ;
    rdfs:label "Legal Reform Shape"@en ;
    rdfs:comment "Enhanced shape for legal reform processes with urgency assessment."@en ;
    sh:property [ sh:hasValue gufo:EventType ;
            sh:message "Must be classified as gUFO EventType"@en ;
            sh:minCount 1 ;
            sh:path rdf:type ;
            sh:severity sh:Violation ],
        [ sh:datatype xsd:string ;
            sh:in ( "low" "moderate" "high" "urgent" "critical" ) ;
            sh:maxCount 1 ;
            sh:message "Reform urgency should be assessed"@en ;
            sh:path cacontology-legal:hasReformUrgency ;
            sh:severity sh:Warning ],
        [ rdfs:comment "Reform priority must be specified."@en ;
            sh:datatype xsd:string ;
            sh:in ( "low" "medium" "high" "urgent" ) ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path cacontology-legal:reformPriority ],
        [ rdfs:comment "Reform name must contain 'Reform'."@en ;
            sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path uco-core:name ;
            sh:pattern ".*Reform.*" ] ;
    sh:targetClass cacontology-legal:LegalReform .