diff --git a/osm_wikidata_check.py b/osm_wikidata_check.py index 9eec972..a62e9c9 100755 --- a/osm_wikidata_check.py +++ b/osm_wikidata_check.py @@ -37,7 +37,7 @@ def overpass_query(wd_ids): def overpass_selector(wd_id): - return ' nwr["wikidata"=' + wd_id + ']({{bbox}});\n nwr[~":wikidata$"~' + wd_id + ']({{bbox}});' + return ' nwr["wikidata"="' + wd_id + '"]({{bbox}});\n nwr[~":wikidata$"~"' + wd_id + '"]({{bbox}});' def overpass_selectors(wd_ids):