Ontology Version: 2.7.0

cacontology-legal-shapes:StatuteShape leaf node


URI

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

Label

Statute Shape

Description

Validates enacted statutes.

Target Classes (1)

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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 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:StatuteShape a sh:NodeShape ;
    rdfs:label "Statute Shape"@en ;
    rdfs:comment "Validates enacted statutes."@en ;
    sh:property [ sh:message "Statutes must extend gUFO Norm"@en ;
            sh:path rdfs:subClassOf ;
            sh:qualifiedMinCount 1 ;
            sh:qualifiedValueShape [ sh:class gufo:Norm ] ;
            sh:severity sh:Violation ],
        [ sh:datatype xsd:string ;
            sh:message "Statute should have a name"@en ;
            sh:minCount 1 ;
            sh:path uco-core:name ;
            sh:severity sh:Warning ] ;
    sh:targetClass cacontology-legal:Statute .