The Swan Inn (Q26624007)

  • matcher place: Basingstoke and Deane (relation 127249), Hampshire (relation 2698314)
  • view on Wikidata
  • Wikimedia Commons
  • Overpass query: show queryOverpass Turbo
    [timeout:300][out:json];
    (
        node(around:1000,51.37245,-1.31657)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.37245,-1.31657)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.37245,-1.31657)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.37245,-1.31657)[restaurant][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.37245,-1.31657)[restaurant][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.37245,-1.31657)[restaurant][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.37245,-1.31657)[service][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.37245,-1.31657)[service][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.37245,-1.31657)[service][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.37245,-1.31657)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.37245,-1.31657)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.37245,-1.31657)[shop][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.37245,-1.31657)[amenity=pub][name];
        way(around:1000,51.37245,-1.31657)[amenity=pub][name];
        rel(around:1000,51.37245,-1.31657)[amenity=pub][name];
        node(around:1000,51.37245,-1.31657)[amenity=restaurant][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.37245,-1.31657)[amenity=restaurant][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.37245,-1.31657)[amenity=restaurant][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.37245,-1.31657)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.37245,-1.31657)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.37245,-1.31657)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.37245,-1.31657)["tourism"="guest_house"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.37245,-1.31657)["tourism"="guest_house"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.37245,-1.31657)["tourism"="guest_house"][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.37245,-1.31657)[tourism=hotel][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.37245,-1.31657)[tourism=hotel][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.37245,-1.31657)[tourism=hotel][~"^(addr:housenumber|.*name.*)$"~".",i];
    );
    out center tags;
Wikidata location: 51.3724, -1.3166 view on OSM or edit on OSM

matches

login to upload wikidata tags

found a single match candidate

way: The Swan (OSM)exact location match [show tags]
name: The Swan
brand: Hall & Woodhouse
amenity: pub
building: yes
old_name: Ye Swan Inn
wikidata: Q26624007
addr:country: GB
brand:wikidata: Q5642555
brand:wikipedia: en:Hall & Woodhouse

wikidata match: Q26624007

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