[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;
found a single match candidate
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 |