Using Wikipedia\'s dumps I want to build a hierarchy for its categories. I have downloaded the main dump (enwiki-latest-pages-articles) and the category SQL dump (enwiki-latest-
The category hierarchy information in MediaWiki is stored in the categorylinks table, so you're going to need the categorylinks dump.
categorylinks
You're also going to need the page (not pages-articles) dump for page id to title mapping.
page
pages-articles