Term -> Term3, Term2 -> Term, Query -> Query3, Query2 -> Query