-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added query to look for non annotated cells
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
PREFIX qb: <http://purl.org/linked-data/cube#> | ||
PREFIX cedar: <http://bit.ly/cedar#> | ||
PREFIX sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#> | ||
PREFIX sdmx-code: <http://purl.org/linked-data/sdmx/2009/code#> | ||
PREFIX oa: <http://www.w3.org/ns/openannotation/core/> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX tablink: <http://bit.ly/cedar-tablink#> | ||
PREFIX dcterms: <http://purl.org/dc/terms/> | ||
|
||
SELECT ?dataset_name ?sheet_name ?label | ||
FROM <urn:graph:cedar-mini:rules> | ||
FROM <urn:graph:cedar-mini:raw-data> | ||
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. | ||
} | ||
} |