Ontology Version: 2.7.0

cacontology-legal-shapes:LegislativeRoleShape leaf node


URI

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

Label

Legislative Role Shape

Description

Validates legislative role classes and instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

gufo:Role
cacontology-infrastructure:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology-infrastructure:hasRoleEndPoint 1 xsd:dateTimeStamp
cacontology-multi:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology-multi:hasRoleEndPoint 1 xsd:dateTimeStamp
cacontology-partnerships:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology-partnerships:hasRoleEndPoint 1 xsd:dateTimeStamp
cacontology-production:hasRoleBeginPoint 0 1 xsd:dateTimeStamp
cacontology-production:hasRoleEndPoint 0 1 xsd:dateTimeStamp

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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-legal-shapes:LegislativeRoleShape a sh:NodeShape ;
    rdfs:label "Legislative Role Shape"@en ;
    rdfs:comment "Validates legislative role classes and instances."@en ;
    sh:property [ sh:message "Legislative roles must extend gUFO Role"@en ;
            sh:path rdfs:subClassOf ;
            sh:qualifiedMinCount 1 ;
            sh:qualifiedValueShape [ sh:class gufo:Role ] ;
            sh:severity sh:Violation ] ;
    sh:targetClass cacontology-legal:LegislativeRole .