[timeout:300][out:json]; ( node(around:1000,50.15000,6.50000)[capital][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,50.15000,6.50000)[capital][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,50.15000,6.50000)[capital][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,50.15000,6.50000)[boundary=administrative][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,50.15000,6.50000)[boundary=administrative][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,50.15000,6.50000)[boundary=administrative][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,50.15000,6.50000)[place=city][name]; way(around:1000,50.15000,6.50000)[place=city][name]; rel(around:1000,50.15000,6.50000)[place=city][name]; node(around:1000,50.15000,6.50000)[place=locality][name]; way(around:1000,50.15000,6.50000)[place=locality][name]; rel(around:1000,50.15000,6.50000)[place=locality][name]; ); out center tags;
found a single match candidate
administrative centre (Q1306755) | capital, Role:admin_centre |
locality (Q3257686) | place=locality |
capital city (Q5119) | capital=yes, capital, Role:admin_centre |
city (Q515) | place=city |
administrative territorial entity (Q56061) | boundary=administrative |