If I want to query for certain objects within an area, it's quite easy:
area(...);
node(area)[natural=peak];
out;
But what if the area is defined as a relation in the OSM database? I could query for the area like this ...
(rel(...);>;);
out;
... but how can I use the area filter on it then?