{{geocodeArea:…}}
The following query searches for archaelogical sites (historic=archaeological_site) his in the Canton of Zurich (CH-ZH):
{{geocodeArea: CH-ZH }};
nw[historic=archaeological_site](area);
out geom;
Assigning a geocodeArea to a named set
It's possible to assign a geocodeArea to a named set with the {{geocodeArea:…}} -> … notation.
The following example uses the pivot operator (or statement?) to draw the boundaries of Zurich City (whose geocodeArea name is Zurich, Switzerland):
{{geocodeArea: Zurich, Switzerland }} -> .zh;
rel(pivot.zh);
out geom;