[timeout:300][out:json];
(
node(around:1000,42.31652,2.90591)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,42.31652,2.90591)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,42.31652,2.90591)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,42.31652,2.90591)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,42.31652,2.90591)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,42.31652,2.90591)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,42.31652,2.90591)[building=yes][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,42.31652,2.90591)[building=yes][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,42.31652,2.90591)[building=yes][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,42.31652,2.90591)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,42.31652,2.90591)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,42.31652,2.90591)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i];
);
out center tags;
El Castell de Montmarí és un edifici romànic de Pont de Molins (Alt Empordà) declarada Bé Cultural d'Interès Nacional.
found a single match candidate
| castle (Q23413) | historic=castle |
| Bien de Interés Cultural (Q23712) | protection_title=Bien de Interés Cultural |
| administrative territorial entity (Q56061) | boundary=administrative |