Training Semantic Parsers From Entity-Annotated Corpora