The Lamb Inn (Q26544190)

  • matcher place: Devizes (relation 3404438)
  • view on Wikidata
  • Overpass query: show queryOverpass Turbo
    [timeout:300][out:json];
    (
        node(around:1000,51.35082,-1.99448)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.35082,-1.99448)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.35082,-1.99448)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.35082,-1.99448)[restaurant][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.35082,-1.99448)[restaurant][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.35082,-1.99448)[restaurant][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.35082,-1.99448)[service][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.35082,-1.99448)[service][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.35082,-1.99448)[service][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.35082,-1.99448)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.35082,-1.99448)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.35082,-1.99448)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.35082,-1.99448)[amenity=pub][name];
        way(around:1000,51.35082,-1.99448)[amenity=pub][name];
        rel(around:1000,51.35082,-1.99448)[amenity=pub][name];
        node(around:1000,51.35082,-1.99448)[amenity=restaurant][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.35082,-1.99448)[amenity=restaurant][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.35082,-1.99448)[amenity=restaurant][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.35082,-1.99448)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.35082,-1.99448)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.35082,-1.99448)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.35082,-1.99448)["tourism"="guest_house"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.35082,-1.99448)["tourism"="guest_house"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.35082,-1.99448)["tourism"="guest_house"][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.35082,-1.99448)[tourism=hotel][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.35082,-1.99448)[tourism=hotel][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.35082,-1.99448)[tourism=hotel][~"^(addr:housenumber|.*name.*)$"~".",i];
    );
    out center tags;
Wikidata location: 51.3508, -1.9945 view on OSM or edit on OSM

matches

login to upload wikidata tags

found a single match candidate

way: The Lamb Inn (OSM)exact location match [show tags]
name: The Lamb Inn
amenity: pub
brewery: Wadworth
fhrs:id: 261820
website: http://www.thelambdevizes.co.uk
building: yes
wikidata: Q26544190
addr:city: Devizes
roof:shape: gabled
addr:street: St. John's Street
addr:postcode: SN10 1BT
opening_hours: Su-We 12:00-23:30, Th 12:00-00:30, Fr,Sa 12:00-00:45
building:levels: 2
addr:housenumber: 20

wikidata match: Q26544190

Search criteria from Wikidata

view with query.wikidata.org

restaurant (Q11707) amenity=restaurant, restaurant
Grade II listed building (Q15700834) listed_status=Grade_II
shop (Q213441) shop, shop=yes
guest house (Q2460422) tourism=guest_house
hotel (Q27686) service, tourism=hotel
building (Q41176) building=yes, building
accommodation facility (Q48835818) service, tourism=hotel
hotel building (Q63099748) building=hotel, tourism=hotel
commercial building (Q655686) building=commercial