static L webs_search_dollarXY_rel(final Web searchWeb, Collection webs) { new L> mappings; for (Web web : webs) addIfNotNull(mappings, web_matchAllPerms_x(searchWeb, web, f nodeMatch_dollarVars)); ret map(mappings, func(Map map) { map = web_addRelationsToMapping(map); ret web_getRelation(map.get(web_findNodeOrRelation(searchWeb, "$X")), map.get(web_findNodeOrRelation(searchWeb, "$Y"))); }); }