https://cacontology.projectvic.org/legal-harmonization/shapes#LegalHarmonizationDataQualityShape
Comprehensive gUFO quality validation for legal harmonization data.
Instances of cacontology-legal:GlobalLegalReview can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-legal:GlobalLegalReview | ||||
| cacontology-legal:countriesAnalyzed | 1 | 1 |
xsd:nonNegativeInteger
|
|
| cacontology-legal:hasDataQuality | 1 |
xsd:string
|
||
| 1 | ||||
| 1 | 1 |
xsd:string
|
||
@prefix cacontology-legal: <https://cacontology.projectvic.org/legal-harmonization#> .
@prefix cacontology-legal-shapes: <https://cacontology.projectvic.org/legal-harmonization/shapes#> .
@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:LegalHarmonizationDataQualityShape a sh:NodeShape ;
rdfs:label "Legal Harmonization Data Quality Shape"@en ;
rdfs:comment "Comprehensive gUFO quality validation for legal harmonization data."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "poor" "fair" "good" "excellent" "validated" ) ;
sh:maxCount 1 ;
sh:message "Data quality level should be assessed"@en ;
sh:path cacontology-legal:hasDataQuality ;
sh:severity sh:Warning ] ;
sh:sparql [ sh:message "Excellent data quality should have high assessment reliability"@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:hasDataQuality "excellent" .
OPTIONAL {
$this cacontology-legal:hasAssessmentReliability ?reliability .
FILTER (?reliability >= 0.8)
}
FILTER (!BOUND(?reliability))
}
""" ;
sh:severity sh:Warning ] ;
sh:targetClass cacontology-legal:ComplianceMetrics,
cacontology-legal:GlobalLegalReview,
cacontology-legal:LegislativeAssessment .