Ontology Version: 2.2.0

cacontology-legal-shapes:LegalComplianceShape leaf node


URI

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

Label

Legal Compliance Shape

Description

Enhanced shape for legal compliance situations with compliance level assessment. - Compliance must be measured by specific metrics. - Legal alignment level must be specified.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-legal:LegalCompliance
cacontology-legal:hasComplianceLevel 1 xsd:double
cacontology-legal:legalAlignmentLevel 1 1 xsd:string
cacontology-legal:measuredBy 1 cacontology-legal:ComplianceMetrics
1

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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-legal-shapes:LegalComplianceShape a sh:NodeShape ;
    rdfs:label "Legal Compliance Shape"@en ;
    rdfs:comment "Enhanced shape for legal compliance situations with compliance level assessment."@en ;
    sh:property [ sh:hasValue gufo:SituationType ;
            sh:message "Must be classified as gUFO SituationType"@en ;
            sh:minCount 1 ;
            sh:path rdf:type ;
            sh:severity sh:Violation ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Compliance level should be measured (0.0-1.0)"@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-legal:hasComplianceLevel ;
            sh:severity sh:Warning ],
        [ rdfs:comment "Legal alignment level must be specified."@en ;
            sh:datatype xsd:string ;
            sh:in ( "none" "partial" "substantial" "full" ) ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path cacontology-legal:legalAlignmentLevel ],
        [ rdfs:comment "Compliance must be measured by specific metrics."@en ;
            sh:class cacontology-legal:ComplianceMetrics ;
            sh:minCount 1 ;
            sh:path cacontology-legal:measuredBy ] ;
    sh:targetClass cacontology-legal:LegalCompliance .