The Black Horse Hotel (Q26300096)

  • 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.74658,-0.97731)[service][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.74658,-0.97731)[service][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.74658,-0.97731)[service][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.74658,-0.97731)[building=hotel][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.74658,-0.97731)[building=hotel][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.74658,-0.97731)[building=hotel][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.74658,-0.97731)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.74658,-0.97731)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.74658,-0.97731)["listed_status"="Grade_II"][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.74658,-0.97731)["tourism"="guest_house"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.74658,-0.97731)["tourism"="guest_house"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.74658,-0.97731)["tourism"="guest_house"][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.74658,-0.97731)[tourism=hostel][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.74658,-0.97731)[tourism=hostel][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.74658,-0.97731)[tourism=hostel][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,51.74658,-0.97731)[tourism=hotel][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,51.74658,-0.97731)[tourism=hotel][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,51.74658,-0.97731)[tourism=hotel][~"^(addr:housenumber|.*name.*)$"~".",i];
    );
    out center tags;
Wikidata location: 51.7466, -0.9773 view on OSM or edit on OSM

matches

login to upload wikidata tags

found a single match candidate

node: The Black Horse (OSM), 7 metres from Wikidata [show tags]
name: The Black Horse
amenity: pub
fhrs:id: 272198
wikidata: Q26300096
wheelchair: yes
outdoor_seating: yes
toilets:wheelchair: yes

wikidata match: Q26300096

Search criteria from Wikidata

view with query.wikidata.org

Grade II listed building (Q15700834) listed_status=Grade_II
hotel (Q27686) service, tourism=hotel
accommodation facility (Q48835818) service, tourism=hotel