Theorem-proving by resolution as a basis for question answering systems