Building a dataset using the Wikipedia API