erlang: add a "q" alias to "query", since "query" is technically a reserved word