EEAKeywords Query » History » Version 1
Jose Rubio, 2020-06-05 10:20
| 1 | 1 | Jose Rubio | h1. EEAKeywords Query |
|---|---|---|---|
| 2 | |||
| 3 | To update the list of keywords in https://taskman.eionet.europa.eu/projects/public-docs/wiki/Catalogueeea_keywords it is necessary to apply the following query on https://semantic.eea.europa.eu/sparql |
||
| 4 | |||
| 5 | <pre> |
||
| 6 | PREFIX dct: <http://purl.org/dc/terms/> |
||
| 7 | PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
||
| 8 | |||
| 9 | SELECT DISTINCT lcase(?label) |
||
| 10 | WHERE { |
||
| 11 | ?sub dct:subject ?label . |
||
| 12 | FILTER(isLiteral(?label)) |
||
| 13 | OPTIONAL { |
||
| 14 | GRAPH <http://glossary.eea.europa.eu/EEAGlossary/skos.rdf?fromidx=0&toidx=10000> { |
||
| 15 | ?glossaryuri rdfs:label ?label |
||
| 16 | } |
||
| 17 | } |
||
| 18 | } ORDER BY ?label |
||
| 19 | </pre> |