I'm trying to find all buildings in ways AND relations, type=multipolygon. The code below works but only finds buildings in ways but not in the relation, type=multipolygon for 'landuse=military'. I know how to output the rel[landuse=military], but not how to feed those relations nodes into the is_in with the ways nodes.
[out:json];
(
way[landuse=military]({{bbox}});
);
node(w);is_in;
area._[landuse=military];
(
way(area)[building];
node(w);
);
out;