Created query translator