unify input command syntax of queries