[timeout:300][out:json]; ( node(around:1000,51.58382,-0.21321)[building][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,51.58382,-0.21321)[building][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,51.58382,-0.21321)[building][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,51.58382,-0.21321)["amenity"="place_of_worship"][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,51.58382,-0.21321)["amenity"="place_of_worship"][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,51.58382,-0.21321)["amenity"="place_of_worship"][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,51.58382,-0.21321)[denomination=samaritan][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,51.58382,-0.21321)[denomination=samaritan][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,51.58382,-0.21321)[denomination=samaritan][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,51.58382,-0.21321)[religion=jewish][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,51.58382,-0.21321)[religion=jewish][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,51.58382,-0.21321)[religion=jewish][~"^(addr:housenumber|.*name.*)$"~".",i]; ); out center tags;
found a single match candidate
structure of worship (Q1370598) | amenity=place_of_worship |
synagogue (Q34627) | denomination=samaritan, building=synagogue, religion=jewish |
building (Q41176) | building=yes, building |
house of prayer (Q831219) | amenity=place_of_worship |