The use of theorem-proving techniques in question-answering systems