The Lamb And Flag Public House (Q26304725)

  • matcher place: West Oxfordshire (relation 394036)
  • view on Wikidata
  • Overpass query: show queryOverpass Turbo
    [timeout:300][out:json];
    (
        node(around:1000,51.81230,-1.48926)[bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.81230,-1.48926)[bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.81230,-1.48926)[bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.81230,-1.48926)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.81230,-1.48926)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.81230,-1.48926)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.81230,-1.48926)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.81230,-1.48926)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.81230,-1.48926)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.81230,-1.48926)[amenity=bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.81230,-1.48926)[amenity=bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.81230,-1.48926)[amenity=bar][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.81230,-1.48926)[amenity=pub][name];
        way(around:1000,51.81230,-1.48926)[amenity=pub][name];
        rel(around:1000,51.81230,-1.48926)[amenity=pub][name];
        node(around:1000,51.81230,-1.48926)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.81230,-1.48926)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.81230,-1.48926)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
    );
    out center tags;
Wikidata location: 51.8123, -1.4893 view on OSM or edit on OSM

matches

login to upload wikidata tags

found a single match candidate

node: Lamb & Flag (OSM), 6 metres from Wikidata [show tags]
name: Lamb & Flag
source: gps_survey;food_agency_open_data
amenity: pub
fhrs:id: 870769
wikidata: Q26304725
addr:city: Hailey
addr:street: Middletown
addr:postcode: OX29 9UB

wikidata match: Q26304725

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