DOI: 10.6084/m9.figshare.17009105
title: Namesakes

description: Abstract Motivation: creating challenging dataset for testing Named-Entity Linking. The Namesakes dataset consists of three closely related datasets: Entities, News and Backlinks. Entities were collected as Wikipedia text chunks corresponding to highly ambiguous entity names. The News were collected as random news text chunks, containing mentions that either belong to the Entities dataset or can be easily confused with them. Backlinks were obtained from Wikipedia dump data with intention to have mentions linked to the entities of the Entity dataset. The Entities and News are human-labeled, resolving the mentions of the entities.Methods Entities were collected as Wikipedia text chunks corresponding to highly ambiguous entity names: the most popular people names, the most popular locations, and organizations with name ambiguity. In each Entities text chunk, the named entities with the name similar to the chunk Wikipedia page name are labeled. For labeling, these entities were suggested to human annotators (odetta.ai) to tag as "Same" (same as the page entity) or "Other". The labeling was done by 6 experienced annotators that passed through a preliminary trial task. The only accepted tags are the tags assigned in agreement by not less than 5 annotators, and then passed through reconciliation with an experienced reconciliator. <br>The News were collected as random news text chunks, containing mentions which either belong to the Entities dataset or can be easily confused with them. In each News text chunk one mention was selected for labeling, and 3-10 Wikipedia pages from Entities were suggested as the labels for an annotator to choose from. The labeling was done by 3 experienced annotators (odetta.ai), after the annotators passed a preliminary trial task. The results were reconciled by an experienced reconciliator. All the labeling was done using Lighttag (lighttag.io).<br> Backlinks were obtained from Wikipedia dump data (dumps.wikimedia.org/enwiki/20210701) with intention to have mentions linked to the entities of the Entity dataset. The backlinks were filtered to leave only mentions in a good quality text; each text was cut 1000 characters after the last mention. Usage Notes<b>Entities</b>:<br> File: Namesakes_entities.jsonl<br> The Entities dataset consists of 4148 Wikipedia text chunks containing human-tagged mentions of entities. Each mention is tagged either as "Same" (meaning that the mention is of this Wikipedia page entity), or "Other" (meaning that the mention is of some other entity, just having the same or similar name). The Entities dataset is a jsonl list, each item is a dictionary with the following keys and values:<br> Key: ‘pagename’: page name of the Wikipedia page.<br> Key ‘pageid’: page id of the Wikipedia page.<br> Key ‘title’: title of the Wikipedia page.<br> Key ‘url’: URL of the Wikipedia page.<br> Key ‘text’: The text chunk from the Wikipedia page.<br> Key ‘entities’: list of the mentions in the page text, each entity is represented by a dictionary with the keys:<br> Key 'text': the mention as a string from the page text.<br> Key ‘start’: start character position of the entity in the text.<br> Key ‘end’: end (one-past-last) character position of the entity in the text.<br> Key ‘tag’: annotation tag given as a string - either ‘Same’ or ‘Other’. <br><b>News</b>:<br> File: Namesakes_news.jsonl<br> The News dataset consists of 1000 news text chunks, each one with a single annotated entity mention. The annotation either points to the corresponding entity from the Entities dataset (if the mention is of that entity), or indicates that the mentioned entity does not belong to the Entities dataset. The News dataset is a jsonl list, each item is a dictionary with the following keys and values:<br> Key ‘id_text’: Id of the sample.<br> Key ‘text’: The text chunk.<br> Key ‘urls’: List of URLs of wikipedia entities suggested to labelers for identification of the entity mentioned in the text.<br> Key ‘entity’: a dictionary describing the annotated entity mention in the text:<br> Key 'text': the mention as a string found by an NER model in the text.<br> Key ‘start’: start character position of the mention in the text.<br> Key ‘end’: end (one-past-last) character position of the mention in the text.<br> Key 'tag': This key exists only if the mentioned entity is annotated as belonging to the Entities dataset - if so, the value is a dictionary identifying the Wikipedia page assigned by annotators to the mentioned entity:<br> Key ‘pageid’: Wikipedia page id.<br> Key ‘pagetitle’: page title.<br> Key 'url': page URL.<br> <br> <b>Backlinks dataset</b>:<br> The Backlinks dataset consists of two parts: dictionary Entity-to-Backlinks and Backlinks documents. The dictionary points to backlinks for each entity of the Entity dataset (if any backlinks exist for the entity). The Backlinks documents are the backlinks Wikipedia text chunks with identified mentions of the entities from the Entities dataset.<br> Each mention is identified by surrounded double square brackets, e.g. "Muir built a small cabin along [[Yosemite Creek]].". However, if the mention differs from the exact entity name, the double square brackets wrap both the exact name and, separated by '|', the mention string to the right, for example: "Muir also spent time with photographer [[Carleton E. Watkins | Carleton Watkins]] and studied his photographs of Yosemite.".<br> The Entity-to-Backlinks is a jsonl with 1527 items.<br> File: Namesakes_backlinks_entities.jsonl<br> Each item is a tuple:<br> Entity name.<br> Entity Wikipedia page id.<br> Backlinks ids: a list of pageids of backlink documents.<br> The Backlinks documents is a jsonl with 26903 items.<br> File: Namesakes_backlinks_texts.jsonl<br> Each item is a dictionary:<br> Key ‘pageid’: Id of the Wikipedia page.<br> Key ‘title’: Title of the Wikipedia page.<br> Key 'content': Text chunk from the Wikipedia page, with all mentions in the double brackets; the text is cut 1000 characters after the last mention, the cut is denoted as '...[CUT]'.<br> Key 'mentions': List of the mentions from the text, for convenience. Each mention is a tuple:<br> Entity name.<br> Entity Wikipedia page id.<br> Sorted list of all character indexes at which the mention occurrences start in the text.