Skip to main content
ConductScienceScienceDex
zenodoopen

Wikidata subset with revision history information [JSON]

<p>This dataset consists the complete revision&nbsp;history&nbsp;of every instance of the 100 most important classes in Wikidata. It contains 9.3 million classes and around 450 million revisions made to those classes. This dataset was exported from a MongoDB database.&nbsp;After decompressing the files, the resulting JSON files can be imported into MongoDB using the following commands:</p> <pre><code>mongoimport --db=db_name --collection=wd_entities --file=wd_entities.json mongoimport --db=db_name --collection=wd_revisions --file=wd_revisions.json </code></pre> <p>Make sure that <em>db_name</em> is replaced by the database where this data will be imported.</p> <p>Documents within the <em>wd_entities</em> collection have the following schema:</p> <ul> <li><strong>id</strong>: Internal id of the entity used by Wikidata (e.g. 8195238).</li> <li><strong>entity_id</strong>: Public id of the entity in Wikidata (e.g. &#39;Q42&#39;)</li> <li><strong>class_ids</strong>: List of classes that the entity belongs to (e.g. [&#39;Q5&#39;, &#39;Q100&#39;])</li> <li><strong>entity_json</strong>: JSON contents of the entity, following Wikidata&#39;s JSON data model (https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_json.html).</li> </ul> <p>Documents within the <em>wd_revisions</em> collection have the following schema:</p> <ul> <li><strong>id</strong>: Identifier of the revision (e.g. 15921539)</li> <li><strong>entity_id</strong>:&nbsp;Public id of the entity in Wikidata affected by this revision (e.g. &#39;Q42&#39;)</li> <li><strong>class_ids</strong>: List of classes that the entity affected by this revision belongs to (e.g. [&#39;Q5&#39;, &#39;Q100&#39;])</li> <li><strong>parent_id</strong>: Identifier of the previous revision to this one, if it exists (e.g. 15921214)</li> <li><strong>timestamp</strong>: Date where the revision was made, following the ISO 8601 format (e.g. +2019-05-27T09:31:10Z)</li> <li><strong>username</strong>: Username of the user that made the revision.</li> <li><strong>comment</strong>: Comments made by the user in the revision, if any.</li> <li><strong>entity_diff</strong>: List of operations made in this revision, following the JSON Patch format.</li> </ul>

ShareScore

32/100

Overall dataset sharing score

Score breakdown

These five areas show where the dataset supports — or may limit — practical reuse.

Stewardship
8
Harmonization
4
Access
16
Reuse readiness
0
Engagement
4

Topics

Dataset details

Repository
zenodo
Published
June 3, 2022
License
cc-by-4.0
DOI
10.5281/zenodo.6614263

Scored with release 0.9.0

ScienceDex for faculty

Your academic CV and NIH biosketch

Make your CV in your school's format and your NIH biosketch from it, then download both as Word files.