diff --git a/check_non-annotated-cells_uniq_labels.rq b/check_non-annotated-cells_uniq_labels.rq new file mode 100644 index 0000000..0450eff --- /dev/null +++ b/check_non-annotated-cells_uniq_labels.rq @@ -0,0 +1,24 @@ +PREFIX qb: +PREFIX cedar: +PREFIX sdmx-dimension: +PREFIX sdmx-code: +PREFIX oa: +PREFIX rdfs: +PREFIX tablink: +PREFIX dcterms: + +SELECT DISTINCT (REPLACE(?label, "Cell.*=", "", "i") AS ?label_clean) +FROM +FROM +WHERE { + ?cell a tablink:RowHeader . + ?cell rdfs:label ?label . + ?cell tablink:sheet ?sheet. + ?sheet rdfs:label ?sheet_name. + [ rdfs:label ?dataset_name] dcterms:hasPart ?sheet. + ?cell tablink:parentCell [tablink:value "gemeenten"]. + FILTER NOT EXISTS { + ?annotation a oa:Annotation. + ?annotation oa:hasTarget ?cell. + } +} ORDER BY ?label_clean