The dataset viewer is not available for this subset.
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Wikidata Changes Database Dump
Description
This dataset contains PostgreSQL dumps of Wikidata changes extracted from the edit history dump of June 2025. This data was extracted with the tool WiDiff.
Please cite our work WiDiff: Extracting Changes from Wikidata’s Edit History.
Citation:
@misc{WiDiff2026,
title={{WiDiff: Extracting Changes from Wikidata's Edit History}},
author={{Cortés, Carolina and Ehrlinger, Lisa and Etcheverry, Lorena and Naumann, Felix}},
year={2026},
eprint={2609.08508},
archivePrefix={arXiv},
primaryClass={cs.DB},
url={https://arxiv.org/abs/2609.08508},
}
Files
The file tables_dir.tar contains a dump of the following tables:
value_change: changes to entities statement's values (CREATE, DELETE, UPDATE)revision: revisions associated to changesqualifier_change: changes to qualifier statement values (CREATE, DELETE)reference_change: changes to reference statement values (CREATE, DELETE)rank_change: changes to ranks of statements (CREATE, DELETE, UPDATE)entity_stats: stats about entities (e.g., number of revisions, number of value changes, etc.)updates_text: updates between text values not classified by rule-based classifiersupdates_text_latin: updates between text values where the old/new value has non-Latin charactersupdates_entity: updates between entity valuesupdates_entity_non_latin: updates between entity values where the old/new value labels have non-Latin charactersfile_paths: contains id and file_path of all files on the dump
Table sizes:
- qualifier_change: 182486518 rows (60 GB)
- rank_change: 616278002 rows (135 GB)
- revision: 743418656 rows (141 GB)
- value_change: 709506539 rows (173 GB)
- reference_change: 1877386505 rows (787 GB)
- entity_stats: 31057469 rows (9234 MB)
- updates_text: 14817100 rows (3022 MB)
- updates_entity: 13034434 rows (2687 MB)
Note: ML-based classification labels were applied only to the tables updates_text and updates_entity (labels with Latin characters), and only to this partition.
The label for rule-based classification can be found in the value_change table.
The file tables_dir_sa.tar contains a dump of the following tables:
value_change_sa: changes to entities statement's values (CREATE, DELETE, UPDATE)revision_sa: revisions associated to changesqualifier_change_sa: changes to qualifier statement values (CREATE, DELETE)reference_change_sa: changes to reference statement values (CREATE, DELETE)rank_change_sa: changes to ranks of statements (CREATE, DELETE, UPDATE)entity_stats_sa: stats about entities (e.g., number of revisions, number of value changes, etc.)updates_text_sa: updates between text values not classified by rule-based classifiersupdates_entity_sa: updates between entity values
Note: These tables correspond to changes to entities which are of type scholarly articles (Q13442814) (or that are an instance of a class that is a subclass of scholarly articles (Q13442814)).
The file tables_dir_ao.tar contains a dump of the following tables:
value_change_ao: changes to entities statement's values (CREATE, DELETE, UPDATE)revision_ao: revisions associated to changesqualifier_change_ao: changes to qualifier statement values (CREATE, DELETE)reference_change_ao: changes to reference statement values (CREATE, DELETE)rank_change_ao: changes to ranks of statements (CREATE, DELETE, UPDATE)entity_stats_ao: stats about entities (e.g., number of revisions, number of value changes, etc.)updates_text_ao: updates between text values not classified by rule-based classifiersupdates_entity_ao: updates between entity values
Note: These tables correspond to changes to entities which are of type astronomical object (Q6999) (or that are an instance of a class that is a subclass of astronomical object (Q6999)).
The file tables_dir_less.tar contains a dump of the following tables:
value_change_less: changes to entities statement's values (CREATE, DELETE, UPDATE)revision_less: revisions associated to changesqualifier_change_less: changes to qualifier statement values (CREATE, DELETE)reference_change_less: changes to reference statement values (CREATE, DELETE)rank_change_less: changes to ranks of statements (CREATE, DELETE, UPDATE)entity_stats_less: stats about entities (e.g., number of revisions, number of value changes, etc.)updates_text_less: updates between text values not classified by rule-based classifiersupdates_entity_less: updates between entity values
Note: These tables correspond to changes to entities with fewer than 10 value changes.
Schema
For detailed schema description, go to WiDiff. Table schemas can be found in the sql/ folder.
Note: The dumps were created with the following command and PostgreSQL version. Command used:
- pg_dump --host {host} --port {port} --username {username} --format directory --jobs 9 --compress zstd:6
--table public.revision
--table public.value_change
--table public.rank_change
--table public.qualifier_change
--table public.reference_change
--table public.entity_stats
--table public.updates_text
--table public.updates_entity
--table public.file_paths
--file dumps/tables_dir
widiff - Before loading the data, create the database and enums in
enum_query.sql. - Order of dump loads: Load the tables_dir.tar tables first and then the rest.
- To load data:
pg_restore --host {host} --port {port} --username {username}
--dbname {dbname}
--jobs 9
--verbose
dumps/tables_dir - Version: pg_dump (PostgreSQL) 17.6
- Downloads last month
- 56