Wikidated 1.0: An Evolving Knowledge Graph Dataset of Wikidata's Revision History

Lukas Schmelzeisen, Corina Dima, Steffen Staab

Abstract

Knowledge graphs (KGs) are foundational to modern information systems, yet academic research frequently treats them as static snapshots. This approach ignores the organic, temporal dynamics of knowledge evolution. We present Wikidated 1.0, a massive dataset capturing the complete revision history of Wikidata from 2012 to 2021. By encoding the history as a stream of exact additions and deletions of RDF triples, Wikidated 1.0 provides a granular record of how knowledge is created, corrected, and contested in one of the world's largest collaborative KGs.

Introduction

Knowledge graphs like Wikidata, YAGO, and Freebase underpin web search, recommendation engines, and question-answering systems. Despite their importance, the study of "evolving knowledge graphs" has historically relied on artificial simulations—such as randomly partitioning a static graph—or comparing infrequent, massive release versions. These methods fail to capture the day-to-day reality of a knowledge base where facts emerge, outdated information is purged, and entities are merged in real-time.

Wikidated 1.0 addresses this gap by providing a reproducible, granular dataset of Wikidata’s entire edit history. This enables researchers to move beyond static analysis and develop dynamic machine learning models capable of incremental updates without the need for full retraining.

Methodology

The construction of Wikidated 1.0 involved processing the official Wikidata pages-meta-history XML dumps, which contain the full JSON state of every revision since the project's inception. The authors transformed this raw data into a format suitable for Semantic Web research through a three-step pipeline:

  1. RDF Conversion: Using the Wikidata Toolkit, each historical JSON revision was serialized into Resource Description Framework (RDF) triples, the standard format for representing subject-predicate-object facts.
  2. Exact Diff Computation: The authors calculated the set differences (additions and deletions) between consecutive revisions of the same entity.
  3. Algorithmic Optimization: Computing differences between RDF graphs is generally an NP-hard problem due to the presence of "blank nodes" (anonymous variables). However, the authors leveraged the specific way Wikidata serializes blank nodes to sidestep this complexity, allowing for fast and exact diffing across billions of revisions.

The resulting dataset represents each edit as a set of incremental changes: metadata, triples removed, and triples added.

Dataset Characteristics

Wikidated 1.0 covers the period from October 2012 to June 2021. It encompasses 96.6 million entities and 1.4 billion revisions. To support different research needs, the dataset is distributed in two formats:

  • Global-stream: A chronologically sorted stream of all incremental revisions across all entities, ideal for global temporal modeling.
  • Entity-streams: Individual streams of revisions grouped by entity, facilitating entity-centric longitudinal studies.

Unlike official Wikidata incremental dumps, which are temporary and lack explicit diffs, Wikidated 1.0 offers a permanent, diff-based record that is more storage-efficient than full-history dumps (239 GiB compressed vs. 339 GiB for the original XML).

Analysis and Key Insights

Preliminary analysis of the dataset reveals several critical patterns in how human and bot contributors interact with Wikidata:

  • Edit Velocity: Approximately 30% of revisions occur within one minute of a previous edit on the same entity. This high velocity points to a combination of automated bot activity, rapid human corrections (e.g., fixing typos), and immediate reverts.
  • Additive Growth: The growth of Wikidata is primarily additive. Roughly 80% of revisions involve zero triple deletions, and most edits are atomic, involving fewer than 10 triple additions.
  • Persistence of Errors: When facts are deleted, they have often persisted for a significant duration. Over half of all deleted triples survived for more than six months before removal, suggesting that while the graph grows quickly, the verification or correction of less popular entities can be slow.
  • Conflict and Edit Wars: While most triples are stable, a small fraction experience high volatility. Some triples have been deleted and re-added over 100 times, signaling intense edit wars or conflicting bot logic.

Results and Scale

The dataset successfully scales to 1.4 billion revisions. While the average entity has approximately 14.6 revisions, the distribution is heavily skewed: 57.2% of entities have between 2 and 9 revisions, while the top 1% of entities have over 100 revisions, reflecting the disproportionate attention given to high-profile topics.

Limitations and Future Work

Wikidated 1.0 is limited by the availability of data in public dumps. Entities or revisions deleted by administrators for legal, privacy, or vandalism reasons are not included. Furthermore, the current version excludes lexicographical data (lexemes and senses) due to limitations in existing RDF serialization tools.

Future iterations of Wikidated will aim for a regular release cadence and explore more aggressive compression formats. The authors also envision using this dataset to pioneer incremental knowledge graph embeddings—models that can update their internal representations dynamically as new facts are streamed into the system.

Summary updated

BibTeX
@inproceedings{schmelzeisen2021wikidated,
  author = {Lukas Schmelzeisen and Corina Dima and Steffen Staab},
  title = {{Wikidated 1.0: An Evolving Knowledge Graph Dataset of Wikidata's Revision History}},
  booktitle = {Wikidata@ISWC},
  year = {2021},
}
Figure