Semantics for a Question-Answering System