id stringlengths 2 6 | url stringlengths 38 42 | title stringlengths 1 110 | text listlengths 1 1.8k | charoffset listlengths 1 1.8k | article stringlengths 0 194k | links listlengths 0 5.24k |
|---|---|---|---|---|---|---|
12 | https://en.wikipedia.org/wiki?curid=12 | Anarchism | [["Anarchism"],["Anarchism is a <a href=\"political%20philosophy\">political philosophy</a> that adv(...TRUNCATED) | [[[[0,9]]],[[[0,9],[10,12],[13,14],[15,48],[48,57],[58,68],[68,72],[73,77],[78,87],[88,114],[114,127(...TRUNCATED) | "Anarchism is a political philosophy that advocates self-governed societies based on voluntary insti(...TRUNCATED) | [{"href":"political%20philosophy","text":"political philosophy"},{"href":"self-governance","text":"s(...TRUNCATED) |
25 | https://en.wikipedia.org/wiki?curid=25 | Autism | [["Autism"],["Autism is a <a href=\"neurodevelopmental%20disorder\">neurodevelopmental disorder</a> (...TRUNCATED) | [[[[0,6]]],[[[0,6],[7,9],[10,11],[12,52],[52,70],[71,79],[79,83],[84,97],[98,100],[101,109],[110,149(...TRUNCATED) | "Autism is a neurodevelopmental disorder characterized by impaired social interaction, impaired verb(...TRUNCATED) | [{"href":"neurodevelopmental%20disorder","text":"neurodevelopmental disorder"},{"href":"Interpersona(...TRUNCATED) |
39 | https://en.wikipedia.org/wiki?curid=39 | Albedo | [["Albedo"],["Albedo ( ) is a measure for <a href=\"reflectance\">reflectance</a> or optical brightn(...TRUNCATED) | [[[[0,6]]],[[[0,6],[7,8],[9,10],[11,13],[14,15],[16,23],[24,27],[28,50],[50,61],[61,65],[66,68],[69,(...TRUNCATED) | "Albedo ( ) is a measure for reflectance or optical brightness (Latin \"albedo,\" \"whiteness\") of (...TRUNCATED) | [{"href":"reflectance","text":"reflectance"},{"href":"Latin","text":"Latin"},{"href":"Dimensionless%(...TRUNCATED) |
290 | https://en.wikipedia.org/wiki?curid=290 | A | [["A"],["A (<a href=\"English%20alphabet%23Letter%20names\">named</a> , plural \"As\", \"A's\", \"a\(...TRUNCATED) | [[[[0,1]]],[[[0,1],[2,3],[3,49],[49,54],[54,58],[59,60],[61,67],[68,69],[69,71],[71,72],[72,73],[74,(...TRUNCATED) | "A (named , plural \"As\", \"A's\", \"a\"s, \"a's\" or \"aes\" ) is the first letter and the first v(...TRUNCATED) | [{"href":"English%20alphabet%23Letter%20names","text":"named"},{"href":"Letter%20%28alphabet%29","te(...TRUNCATED) |
303 | https://en.wikipedia.org/wiki?curid=303 | Alabama | [["Alabama"],["Alabama ( ) is a <a href=\"U.S.%20state\">state</a> in the <a href=\"Southern%20Unite(...TRUNCATED) | [[[[0,7]]],[[[0,7],[8,9],[10,11],[12,14],[15,16],[17,40],[40,45],[45,49],[50,52],[53,56],[57,94],[94(...TRUNCATED) | "Alabama ( ) is a state in the southeastern region of the United States. It is bordered by Tennessee(...TRUNCATED) | [{"href":"U.S.%20state","text":"state"},{"href":"Southern%20United%20States","text":"southeastern re(...TRUNCATED) |
305 | https://en.wikipedia.org/wiki?curid=305 | Achilles | [["Achilles"],["In <a href=\"Greek%20mythology\">Greek mythology</a>, Achilles ( , ; ] ) was a <a hr(...TRUNCATED) | [[[[0,8]]],[[[0,2],[3,31],[31,36],[37,46],[46,50],[50,51],[52,60],[61,62],[63,64],[65,66],[67,68],[6(...TRUNCATED) | "In Greek mythology, Achilles ( , ; ] ) was a Greek hero of the Trojan War and the central character(...TRUNCATED) | [{"href":"Greek%20mythology","text":"Greek mythology"},{"href":"Greeks","text":"Greek"},{"href":"Tro(...TRUNCATED) |
307 | https://en.wikipedia.org/wiki?curid=307 | Abraham Lincoln | [["Abraham Lincoln"],["Abraham Lincoln ( ; February 12, 1809 – April 15, 1865) was an American po(...TRUNCATED) | [[[[0,7],[8,15]]],[[[0,7],[8,15],[16,17],[18,19],[20,28],[29,31],[31,32],[33,37],[38,39],[40,45],[46(...TRUNCATED) | "Abraham Lincoln ( ; February 12, 1809 – April 15, 1865) was an American politician and lawyer wh(...TRUNCATED) | [{"href":"List%20of%20Presidents%20of%20the%20United%20States","text":"16th President of the United (...TRUNCATED) |
308 | https://en.wikipedia.org/wiki?curid=308 | Aristotle | [["Aristotle"],["Aristotle ( ; <a href=\"Greek%20language\">Greek</a>: Ἀριστοτέλης , , \(...TRUNCATED) | [[[[0,9]]],[[[0,9],[10,11],[12,13],[14,41],[41,46],[46,50],[50,51],[52,63],[64,65],[66,67],[68,69],[(...TRUNCATED) | "Aristotle ( ; Greek: Ἀριστοτέλης , , \"Aristotélēs\"; 384–322 BC) was an ancient G(...TRUNCATED) | [{"href":"Greek%20language","text":"Greek"},{"href":"Ancient%20Greece","text":"ancient Greek"},{"hre(...TRUNCATED) |
309 | https://en.wikipedia.org/wiki?curid=309 | An American in Paris | [["An American in Paris"],["An American in Paris is a <a href=\"jazz\">jazz</a>-influenced orchestra(...TRUNCATED) | [[[[0,2],[3,11],[12,14],[15,20]]],[[[0,2],[3,11],[12,14],[15,20],[21,23],[24,25],[26,41],[41,45],[45(...TRUNCATED) | "An American in Paris is a jazz-influenced orchestral piece by the American composer George Gershwin(...TRUNCATED) | [{"href":"jazz","text":"jazz"},{"href":"George%20Gershwin","text":"George Gershwin"},{"href":"Paris"(...TRUNCATED) |
316 | https://en.wikipedia.org/wiki?curid=316 | Academy Award for Best Production Design | [["Academy Award for Best Production Design"],["The <a href=\"Academy%20Award\">Academy Award</a> fo(...TRUNCATED) | [[[[0,7],[8,13],[14,17],[18,22],[23,33],[34,40]]],[[[0,3],[4,30],[30,37],[38,43],[43,47],[48,51],[52(...TRUNCATED) | "The Academy Award for Best Production Design recognizes achievement for art direction in film. The (...TRUNCATED) | [{"href":"Academy%20Award","text":"Academy Award"},{"href":"art%20direction","text":"art direction"}(...TRUNCATED) |
HotpotQA Wikipedia Corpus
This dataset is a processed Wikipedia corpus derived from the HotpotQA Wikipedia dump.
The original dump was downloaded from:
Additional details about the structure and preprocessing of the original HotpotQA Wikipedia dump are available here:
Dataset Description
This dataset is built on top of the original HotpotQA Wikipedia dump without modifying the raw source content.
The original Wikipedia text is preserved as-is, and additional features are derived from it to make the dataset more convenient for downstream NLP and knowledge graph tasks.
In particular, two new features are created by processing the original text field, while keeping the original field intact.
Features
Each row corresponds to a single Wikipedia article and contains the following fields:
id
A unique identifier for the article.url
The original Wikipedia URL of the article.title
The article title.charoffset
Character-level offset information associated with the originaltextfield.text
The original article content from the HotpotQA Wikipedia dump.- NOTE: The features
id,url,title,text, andcharoffsetare unmodified.
- NOTE: The features
article
A cleaned, plain-text version of the article derived from thetextfield.
HTML markup has been removed, and anchor tags have been replaced by their visible text to preserve semantic content and readability.links
A structured list of hyperlinks extracted from the originaltextfield.
Each entry contains:- the visible anchor text
- the corresponding Wikipedia link target (
href) - This feature provides human-curated entity references that are useful for entity linking and knowledge graph construction.
Motivation and Use Cases
This dataset is designed to support a wide range of NLP and graph-based applications, including:
- Multi-hop question answering
- Retrieval-augmented generation (RAG)
- Knowledge graph construction
- Entity linking
- Relation extraction
- Large-scale analysis of Wikipedia content
By preserving the original raw text while also providing cleaned text and structured link metadata, the dataset enables flexible experimentation across different pipelines.
Loading the Dataset
from datasets import load_dataset
ds = load_dataset("ParthMandaliya/hotpotqa-wiki", streaming=True, split="train")
- Downloads last month
- 39