[timeout:300][out:json]; ( node(around:1000,42.02953,3.10312)[capital][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,42.02953,3.10312)[capital][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,42.02953,3.10312)[capital][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,42.02953,3.10312)["political_division"][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,42.02953,3.10312)["political_division"][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,42.02953,3.10312)["political_division"][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,42.02953,3.10312)[boundary=administrative][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,42.02953,3.10312)[boundary=administrative][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,42.02953,3.10312)[boundary=administrative][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,42.02953,3.10312)[place=city][name]; way(around:1000,42.02953,3.10312)[place=city][name]; rel(around:1000,42.02953,3.10312)[place=city][name]; node(around:1000,42.02953,3.10312)[place=locality][name]; way(around:1000,42.02953,3.10312)[place=locality][name]; rel(around:1000,42.02953,3.10312)[place=locality][name]; ); out center tags;
found 2 match candidates
political territorial entity (Q1048835) | political_division |
administrative centre (Q1306755) | Role:admin_centre, capital |
locality (Q3257686) | place=locality |
administrative territorial entity (Q56061) | boundary=administrative |