[timeout:300][out:json]; ( node(around:1000,50.83477,14.79256)[building][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,50.83477,14.79256)[building][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,50.83477,14.79256)[building][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,50.83477,14.79256)[military][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,50.83477,14.79256)[military][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,50.83477,14.79256)[military][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,50.83477,14.79256)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,50.83477,14.79256)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,50.83477,14.79256)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,50.83477,14.79256)[historic=ruins][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,50.83477,14.79256)[historic=ruins][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,50.83477,14.79256)[historic=ruins][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,50.83477,14.79256)[ruins=castle][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,50.83477,14.79256)[ruins=castle][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,50.83477,14.79256)[ruins=castle][~"^(addr:housenumber|.*name.*)$"~".",i]; ); out center tags;
found a single match candidate
ruins (Q109607) | historic=ruins, building=ruins |
castle ruin (Q17715832) | ruins=castle |
military facility (Q18691599) | military |
castle (Q23413) | historic=castle |
building (Q41176) | building=yes, building |