Building a knowledge base in reading