Spital zum Heiligen Geist (Bad Mergentheim) (Q126596434)

  • matcher place: Main-Tauber-Kreis (relation 62542)
  • view on Wikidata
  • Wikimedia Commons
  • Overpass query: show queryOverpass Turbo
    [timeout:300][out:json];
    (
        node(around:1000,49.49200,9.77309)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,49.49200,9.77309)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,49.49200,9.77309)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,49.49200,9.77309)[heritage][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,49.49200,9.77309)[heritage][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,49.49200,9.77309)[heritage][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,49.49200,9.77309)[amenity=hospital][name];
        way(around:1000,49.49200,9.77309)[amenity=hospital][name];
        rel(around:1000,49.49200,9.77309)[amenity=hospital][name];
        node(around:1000,49.49200,9.77309)["amenity"="public_building"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,49.49200,9.77309)["amenity"="public_building"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,49.49200,9.77309)["amenity"="public_building"][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,49.49200,9.77309)[healthcare=hospital][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,49.49200,9.77309)[healthcare=hospital][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,49.49200,9.77309)[healthcare=hospital][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,49.49200,9.77309)[historic=heritage][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,49.49200,9.77309)[historic=heritage][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,49.49200,9.77309)[historic=heritage][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,49.49200,9.77309)["protect_class"="22"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,49.49200,9.77309)["protect_class"="22"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,49.49200,9.77309)["protect_class"="22"][~"^(addr:housenumber|.*name.*)$"~".",i];
    );
    out center tags;
Wikidata location: 49.4920, 9.7731 view on OSM or edit on OSM

matches

login to upload wikidata tags

found a single match candidate

way: 4 Kirchstraße (OSM)exact location match [show tags]
building: yes
addr:city: Bad Mergentheim
addr:street: Kirchstraße
addr:housenumber: 4
wikidata: Q126596434

wikidata match: Q126596434

Search criteria from Wikidata

view with query.wikidata.org

cultural heritage (Q210272) protect_class=22, heritage, historic=heritage
public building (Q294422) amenity=public_building, building=public
hospital building (Q39364723) amenity=hospital, building=hospital, healthcare=hospital
building (Q41176) building=yes, building