Automatic knowledge base construction from scholarly documents