The Sun Public House (Q26657967)

  • matcher place: Surrey Heath (relation 109211)
  • view on Wikidata
  • Overpass query: show queryOverpass Turbo
    [timeout:300][out:json];
    (
        node(around:1000,51.34649,-0.60382)[bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.34649,-0.60382)[bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.34649,-0.60382)[bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.34649,-0.60382)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.34649,-0.60382)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.34649,-0.60382)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.34649,-0.60382)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.34649,-0.60382)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.34649,-0.60382)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.34649,-0.60382)[amenity=bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.34649,-0.60382)[amenity=bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.34649,-0.60382)[amenity=bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.34649,-0.60382)[amenity=pub][name];
        way(around:1000,51.34649,-0.60382)[amenity=pub][name];
        rel(around:1000,51.34649,-0.60382)[amenity=pub][name];
        node(around:1000,51.34649,-0.60382)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.34649,-0.60382)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.34649,-0.60382)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
    );
    out center tags;
Wikidata location: 51.3465, -0.6038 view on OSM or edit on OSM

matches

login to upload wikidata tags

found a single match candidate

node: The Sun (OSM), 11 metres from Wikidata [show tags]
name: The Sun
amenity: pub
wikidata: Q26657967

wikidata match: Q26657967

Search criteria from Wikidata

view with query.wikidata.org

Grade II listed building (Q15700834) listed_status=Grade_II
bar (Q187456) bar, amenity=bar
pub (Q212198) amenity=pub
shop (Q213441) shop, shop=yes
building (Q41176) building=yes, building
commercial building (Q655686) building=commercial