| ... | ... | @@ -259,18 +259,29 @@ The following query retrieves all the territories and marine areas with their la |
|
|
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
|
|
PREFIX skosxl: <http://www.w3.org/2008/05/skos-xl#>
|
|
|
|
PREFIX euvoc: <http://publications.europa.eu/ontology/euvoc#>
|
|
|
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
|
|
PREFIX dct: <http://purl.org/dc/terms/>
|
|
|
|
|
|
|
|
SELECT distinct ?concept_uri ?country_en WHERE {
|
|
|
|
SELECT distinct ?country_uri ?named_authority_code ?country_en
|
|
|
|
WHERE {
|
|
|
|
values ?scheme {
|
|
|
|
<http://publications.europa.eu/resource/authority/country/0002>
|
|
|
|
<http://publications.europa.eu/resource/authority/country/0003>
|
|
|
|
}
|
|
|
|
?concept_uri a skos:Concept .
|
|
|
|
?concept_uri skos:prefLabel ?c_en .
|
|
|
|
?country_uri a skos:Concept .
|
|
|
|
?country_uri skos:prefLabel ?c_en .
|
|
|
|
Bind(str(?c_en) as ?country_en)
|
|
|
|
?concept_uri skos:inScheme ?scheme .
|
|
|
|
?country_uri skos:inScheme ?scheme .
|
|
|
|
filter(lang(?c_en) = "en")
|
|
|
|
filter not exists {?concept_uri owl:deprecated ?true}
|
|
|
|
filter not exists {?country_uri owl:deprecated ?true}
|
|
|
|
filter not exists {
|
|
|
|
?country_uri euvoc:status <http://publications.europa.eu/resource/authority/concept-status/RETIRED>
|
|
|
|
}
|
|
|
|
|
|
|
|
?country_uri euvoc:xlNotation ?not_authority .
|
|
|
|
?not_authority rdf:value ?named_authority_code .
|
|
|
|
?not_authority dct:type <http://publications.europa.eu/resource/authority/notation-type/NAC> .
|
|
|
|
} order by ?country_en
|
|
|
|
```
|
|
|
|
|
| ... | ... | |
| ... | ... | |