Shortcut: WD:JSON

Wikidata:Muat turun pangkalan data

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

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

Crystal Project Db update.png

Wikidata menawarkan salinan kandungan yang tersedia untuk sesiapa sahaja untuk dimuat turun.

Sila ambil perhatian terdapat juga beberapa kaedah lain untuk mencapai kandungan berstruktur daripada Wikidata, yang mungkin tidak memerlukan longgokan pangkalan data yang lengkap.

Longgokan pangkalan data

Terdapat beberapa jenis longgokan data tersedia. Ambil perhatian bahawa longgokan JSON dan RDF dianggap sebagai "antara muka yang stabil", longgokan XML pula adalah tidak. Perubahan kepada format-format data yang digunakan oleh antara muka stabil adalah tertakluk kepada Dasar Antara Muka Stabil.

Longgokan JSON (disyorkan)

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 merupakan perpustakaan PHP untuk membaca isi longgokan.

Longgokan RDF

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).

Longgokan XML

Longgokan XML penuh Wikidata boleh dijumpai di https://dumps.wikimedia.org/wikidatawiki/.

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!

Incremental dumps (or Add/Change dumps) for Wikidata are also available for download. These dumps contain stuff that was added in the last 24 hours, reducing the need of having to download the full database dump. These dumps are considerably smaller than the full database dumps

Ia boleh dijumpai di https://dumps.wikimedia.org/other/incr/wikidatawiki/.

Lexicographical data

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

Longgokan JSON dan RDF lama

Longgokan RDF dan JSON yang lama boleh dijumpai di Internet Archive (Q461):

Model data

Model data boleh dicari di sini. Model data menjelaskan blok binaan asas bagi data Wikidata.

Skema pangkalan data

Gambaran keseluruhan skema pangkalan data boleh dijumpai di laman ini. (Ini bukanlah skema data di Wikidata)

Lesen

These databases can be used for personal or commercial use, backups or offline use. All structured data from the main and property namespace is available under the Creative Commons CC0 License. Text in the other namespaces is available under the Creative Commons Attribution/Share-Alike License; additional terms may apply. Media items and other content are available under other licenses, as detailed on their description pages.