https://cacontology.projectvic.org/legal-harmonization/shapes#FullComplianceAlignmentRule
Full legal alignment should have high compliance levels.
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 | ||||
@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:FullComplianceAlignmentRule a sh:NodeShape ;
rdfs:label "Full Compliance Alignment Rule"@en ;
rdfs:comment "Full legal alignment should have high compliance levels."@en ;
sh:sparql [ sh:message "Full legal alignment should have high compliance levels"@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/legal-harmonization#"^^xsd:anyURI ;
sh:prefix "cacontology-legal" ] ] ;
sh:select """
SELECT $this
WHERE {
$this cacontology-legal:legalAlignmentLevel "full" .
OPTIONAL {
$this cacontology-legal:hasComplianceLevel ?level .
FILTER (?level >= 0.8)
}
FILTER (!BOUND(?level))
}
""" ;
sh:severity sh:Warning ] ;
sh:targetClass cacontology-legal:LegalCompliance .