diff --git a/generate_map.py b/generate_map.py index b899a72..df4dcc2 100755 --- a/generate_map.py +++ b/generate_map.py @@ -103,7 +103,7 @@ SELECT DISTINCT ?item ?map WHERE { # ?item is instance of country or sovereign state ?item wdt:P31 ?stateclass. # ?item is transitively part of Europe (Contintent) or EEA - ?item wdt:P361+ ?euroclass. + ?item wdt:P361+ | (wdt:P706 / wdt:P361) ?euroclass. # ?item has geoshape ?map (including all non-deprecated results) ?item p:P3896 ?st. ?st ps:P3896 ?map;