The Nag's Head Public House (Q26650205)

  • matcher place: South Oxfordshire (relation 299097), Thame (relation 1863908)
  • view on Wikidata
  • Overpass query: show queryOverpass Turbo
    [timeout:300][out:json];
    (
        node(around:1000,51.74640,-0.97692)[bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.74640,-0.97692)[bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.74640,-0.97692)[bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.74640,-0.97692)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.74640,-0.97692)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.74640,-0.97692)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.74640,-0.97692)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.74640,-0.97692)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.74640,-0.97692)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.74640,-0.97692)[amenity=bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.74640,-0.97692)[amenity=bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.74640,-0.97692)[amenity=bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.74640,-0.97692)[amenity=pub][name];
        way(around:1000,51.74640,-0.97692)[amenity=pub][name];
        rel(around:1000,51.74640,-0.97692)[amenity=pub][name];
        node(around:1000,51.74640,-0.97692)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.74640,-0.97692)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.74640,-0.97692)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
    );
    out center tags;
Wikidata location: 51.7464, -0.9769 view on OSM or edit on OSM

matches

login to upload wikidata tags

found a single match candidate

way: Old Nags Head (OSM)exact location match [show tags]
name: Old Nags Head
amenity: pub
fhrs:id: 272194
building: yes
wikidata: Q26650205
check_date: 2024-08-25

wikidata match: Q26650205

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