Skip to content

Commit

Permalink
Added query to look for non annotated cells
Browse files Browse the repository at this point in the history
  • Loading branch information
cgueret committed Mar 10, 2015
1 parent 25f5ad7 commit 511c905
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions check_non-annotated-cells.rq
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.
}
}

0 comments on commit 511c905

Please sign in to comment.