From 3b7379ec0f954843b7b4bad84cc20cd9531825f0 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Mon, 8 Nov 2021 23:42:55 +0100 Subject: [PATCH] Geography: Fix typo, preventing exclusion of non-constant offset statements on timezones eg. it did not exclude the offsets from Q941023 (Eastern Time Zone) --- plugins/Geography/wikidata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Geography/wikidata.py b/plugins/Geography/wikidata.py index 959d2c970..cc924a90c 100644 --- a/plugins/Geography/wikidata.py +++ b/plugins/Geography/wikidata.py @@ -90,7 +90,7 @@ SELECT ?item ?itemLabel ?rank ?endtime ?appliestopart ?utcoffset ?tzid (MIN(?are ?utcoffset_statement ps:P2907 ?utcoffset. FILTER NOT EXISTS { - ?utcoffset_statement wdt:P1264 ?utcoffset_validinperiod. + ?utcoffset_statement pq:P1264 ?utcoffset_validinperiod. } }