Supplementary materials for paper: Creating and Querying Personalized Versions of Wikidata on a Laptop (Under review)

This page provides pointers to the materials (datasets, software and notebooks) used in a paper currently under review

Summary: Application developers today have three choices for exploiting the knowledge present in Wikidata [1] : they can download the Wikidata dumps in JSON or RDF format, they can use the Wikidata API to get data about individual entities, or they can use the Wikidata SPARQL endpoint. None of these methods can support complex, yet common, query use cases, such as retrieval of large amounts of data or aggregations over large fractions of Wikidata. This paper introduces KGTK Kypher, a query language and processor that allows users creating personalized variants of Wikidata on a laptop. We present several use cases that illustrate the types of analyses that Kypher enables users to run on the full Wikidata KG on a laptop, combining data from external resources such as DBpedia. The Kypher queries for these use cases run much faster on a laptop than the equivalent SPARQL queries on a Wikidata clone running on a powerful server with 24h time-out limits.

This page and the materials described on it (excluding external references) is available at a permanent URL:

A preprint of the paper will soon be available here.


Input Datasets

We used the following datasets for our paper, available in Zenodo under DOI

The cache (sqlite) used to store the queries is available in the following DOI:

The results of the analyis are the times comparing KGTK and SPARQL, as reported in the paper.

Software and Notebooks.

The pointers for the main software used can be found below:


  1. Vrandecic, D., Krotzsch, M.: Wikidata: a free collaborative knowledgebase. Com-munications of the ACM57(10), 78–85 (2014)

About the authors.

Hans Chalupsky

Hans Chalupsky

Research Lead

Research Lead at the Information Sciences Institute, University of Southern California.

Pedro Szekely

Pedro Szekely

Research Director

Research Director at the center on Knowledge Graphs, Information Sciences Institute, University of Southern California.

Filip Ilievski

Filip Ilievski

Research Scientist

Researcher at the Information Sciences Institute, University of Southern California.

Daniel Garijo

Daniel Garijo

Distinguished Researcher

Researcher at the Universidad Politécnica de Madrid.

Kartik Shenoy

Kartik Shenoy

Student worker

Master student at the University of Southern California.

Designed deived from w3.css