Add new QueryDefineRef in ELM along with support for it in the translator