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