Shortcut: WD:JSON

Wikidata:Database download

From Wikidata
Jump to navigation Jump to search
This page is a translated version of the page Wikidata:Database download and the translation is 33% complete.

Outdated translations are marked like this.
Other languages:
Bahasa Indonesia • ‎Bahasa Melayu • ‎Deutsch • ‎English • ‎Esperanto • ‎Frysk • ‎Lëtzebuergesch • ‎Nederlands • ‎Ripoarisch • ‎Türkçe • ‎català • ‎dansk • ‎dolnoserbski • ‎español • ‎français • ‎hornjoserbsce • ‎italiano • ‎latviešu • ‎norsk bokmål • ‎occitan • ‎polski • ‎português do Brasil • ‎suomi • ‎svenska • ‎čeština • ‎Ελληνικά • ‎беларуская • ‎македонски • ‎русский • ‎српски / srpski • ‎українська • ‎հայերեն • ‎עברית • ‎العربية • ‎فارسی • ‎پښتو • ‎বাংলা • ‎ગુજરાતી • ‎ไทย • ‎ქართული • ‎中文 • ‎日本語 • ‎한국어

Crystal Project Db update.png

Wikidata offers copies of the available content for anyone to download.

Note that there are also several other methods for accessing structured content from Wikidata, which may not require a complete database dump.

Databasedumps

There are several different kinds of data dumps available. Note that while JSON and RDF dumps are considered stable interfaces, XML dumps are not. Changes to the data formats used by stable interfaces are subject to the Stable Interface Policy.

JSON-dumps (aanbevolen)

JSON dumps containing all Wikidata entities in a single JSON array can be found under https://dumps.wikimedia.org/wikidatawiki/entities/. The entities in the array are not necessarily in any particular order, e.g., Q2 doesn't necessarily follow Q1. The dumps are being created on a weekly basis.

This is the recommended dump format. Please refer to the JSON structure documentation for information about how Wikidata entities are represented.

Hint: Each entity object (data item or property) is placed on a separate line in the JSON file, so the file can be read line by line, and each line can be decoded separately as an individual JSON object.

Note that the files are using parallel compression, which means that some decompressors cannot reliably unpack the files. If you are using Windows you can use e.g. Bzip2.

JsonDumpReader is a PHP library for reading the dumps.

RDF-dumps

First, canonical RDF dumps using the Turtle format can be found under https://dumps.wikimedia.org/wikidatawiki/entities/. The mapping is described here. These full statements are noted as all.

Secondly, so called truthy dumps are provided. They use the nt format. They are in the same format as the full dumps, but limited to direct, truthy statements. Therefore, they do not contain meta data such as qualifier and references.

The complete dumps together contain all entity information in Wikidata with the exception of order (of aliases, of statements, etc.), which is not naturally represented in RDF. Simplified dumps encode statements that have no qualifiers as single RDF triples (references are omitted).

XML-dumps

Dumps kunnen hier worden gevonden. Merk op dat er ook verscheidene andere manieren om toegang te krijgen tot gestructureerde inhoud van Wikidata, waardoor je geen complete database dump nodig hebt.

Warning: The format of the JSON data embedded in the XML dumps is subject to change without notice, and may be inconsistent between revisions. It should be treated as opaque binary data. It is strongly recommended to use the JSON or RDF dumps instead, which use canonical representations of the data!

Incrementele dumps (ook wel bekend als Add/Change dumps) van Wikidata zijn ook beschikbaar als download. Deze dumps bevatten alleen de inhoud die veranderd of zijn toegevoegd in de laatste 24 uur. Hierdoor hoef je geen volledige dump te downloaden, wat tijd kan besparen aangezien deze dumps stukken kleiner zijn dan de normale dumps.

Deze dumps zijn te vinden op https://dumps.wikimedia.org/other/incr/wikidatawiki/.https://dumps.wikimedia.org/other/incr/wikidatawiki/https://dumps.wikimedia.org/other/incr/wikidatawiki/https://dumps.wikimedia.org/other/incr/wikidatawiki/https://dumps.wikimedia.org/other/incr/wikidatawiki/https://dumps.wikimedia.org/other/incr/wikidatawiki/https://dumps.wikimedia.org/other/incr/wikidatawiki/https://dumps.wikimedia.org/other/incr/wikidatawiki/

Lexicographical data

Lexical data dumps are not yet available for download. See corresponding Phabricator ticket.

Old JSON and RDF dumps

Old RDF and JSON dumps can be found on the Internet Archive (Q461):

Datamodel

The data model can be looked up here. The data model describes the fundamental building blocks of Wikidata's data.

Databaseschema

An overview over the schema of the database can be found at this page. (This is not the schema of the data in Wikidata.)

Licentie

Wikidata zal (binnenkort) kopieën van de beschikbare data als download aanbieden. Deze databases kunnen worden gebruikt voor persoonlijk of commercieel gebruik, als backup of voor offline gebruik. Alle gestructureerde gegevens in de hoofdnaamruimte en eigendomsnaamruimte zijn beschikbaar onder de [$url1deed Creative Commons CC0 licentie]. De inhoud van de andere naamruimte zijn te gebruiken onder de [$url2deed.nl Naamsvermelding-GelijkDelen licentie]; alhoewel er aanvullende voorwaarden van toepassing kunnen zijn. Media en andere content zijn beschikbaar onder andere licenties, zoals beschreven op hun beschrijvingpagina's.