source: main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/voting-excel/european-countries.sparql@ 34945

Last change on this file since 34945 was 34945, checked in by davidb, 3 years ago

Sparql query to return a list of European countries from DBpedia

File size: 379 bytes
Line 
1PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
2PREFIX dct: <http://purl.org/dc/terms/>
3
4SELECT DISTINCT (?country_label AS ?country_key) (?country AS ?country_uri)
5WHERE {
6 ?country dct:subject <http://dbpedia.org/resource/Category:Countries_in_Europe>.
7 ?country rdfs:label ?country_label
8 FILTER (lang(?country_label) = 'en').
9}
10ORDER BY ASC(?country_label)
11
Note: See TracBrowser for help on using the repository browser.