sentence1: a widely accepted way to use knowledge graph is tying queries with it by annotating entities in them , also known as entity linking .
sentence2: entity linking is the task of mapping an entity mention in a text document to an entity in a knowledge base .