The Four Horseshoes Public House (Q26460671)

  • matcher place: Basingstoke and Deane (relation 127249), Hampshire (relation 2698314)
  • view on Wikidata
  • Overpass query: show queryOverpass Turbo
    [timeout:300][out:json];
    (
        node(around:1000,51.31655,-1.02535)[bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.31655,-1.02535)[bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.31655,-1.02535)[bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.31655,-1.02535)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.31655,-1.02535)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.31655,-1.02535)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.31655,-1.02535)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.31655,-1.02535)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.31655,-1.02535)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.31655,-1.02535)[amenity=bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.31655,-1.02535)[amenity=bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.31655,-1.02535)[amenity=bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.31655,-1.02535)[amenity=pub][name];
        way(around:1000,51.31655,-1.02535)[amenity=pub][name];
        rel(around:1000,51.31655,-1.02535)[amenity=pub][name];
        node(around:1000,51.31655,-1.02535)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.31655,-1.02535)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.31655,-1.02535)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
    );
    out center tags;
Wikidata location: 51.3165, -1.0254 view on OSM or edit on OSM

matches

login to upload wikidata tags

found a single match candidate

way: The Four Horseshoes (OSM)exact location match [show tags]
name: The Four Horseshoes
amenity: pub
building: yes
wikidata: Q26460671

wikidata match: Q26460671

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