Wikidata:Database download/pt-br

This page is a translated version of the page Wikidata:Database download and the translation is 23% complete.
Outdated translations are marked like this.

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

Note que há também vários métodos para acessar conteúdo estruturado do Wikidata, que podem não requerer um depósito completo do banco de dados.

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 (recommended)

Dumps JSON contendo todas as entidades Wikidata em um único array JSON podem ser encontrados em https://dumps.wikimedia.org/wikidatawiki/entities/. As entidades na matriz não estão necessariamente em nenhuma ordem específica, por exemplo, Q2 não segue necessariamente Q1. Os lixões estão sendo criados semanalmente.

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. On *nix systems, use lbzip2 which can decompress Bzip2 in parallel. pbzip2 is not a good choice because it is not able to decompress in parallel files not compressed with pbzip2.

You can currently download a fairly recent dump using a torrent. wikidata-20220103-all.json.gz (109.04 GiB) on academictorrents.com ( magnet)

  • JsonDumpReader is a PHP library for reading the dumps.
  • gitlab.com/tozd/go/mediawiki is a Go library for processing Wikipedia and Wikidata dumps.
  • WDSub is a Scala library that processes JSON Wikibase dumps and can generate subsets using entity schemas as inputs
  • simple-wikidata-db is a JSON dump parser written in Python
  • qwikidata supports JSON dumps and is written in Python

despejos RDF

First, canonical RDF dumps using the Turtle and NTriples formats 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 qualifiers and references.

The -all dump files contain all entity information in Wikidata with the exception of order (of aliases, of statements, etc.), which is not naturally represented in RDF. The -truthy dump files encode the *best* statements (i.e. the ones with the highest rank of each given (subject, property) pairs) as single RDF triples (qualifiers and references are omitted).

The dumps of Wikidata Lexeme namespace in Turtle and NTriples formats can be found in the same place with lexemes suffix.

For details on the RDF dump format please see the page RDF Dump Format.

Partial RDF dumps

WDumper is a third-party tool to create custom Wikidata RDF dumps. Entities and statements may be filtered.

XML dumps

Depósitos completos do Wikidata em XML encontram-se em http://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!

Depósitos incrementais (ou depósitos de Adição/Alteração) da Wikidata estão também disponíveis para download. Estes dumps contém material que foi adicionado nas últimas 24 horas, reduzindo a necessidade de baixar o depósito do banco de dados inteiro. Estes depósitos são consideravelmente menores que aqueles depósitos do banco de dados inteiro.

Estes depósitos estão disponíveis aqui.

Old JSON and RDF dumps

Data model

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

Database schema

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

Licença

O Wikidata oferece cópias do conteúdo disponível para download. Estes bancos de dados podem ser destinados para uso pessoal ou comercial, backups ou uso offline. Todos os dados estruturados dos domínios principal e propriedade estão disponíveis sob a licença Creative Commons CC0 License. Textos em outros domínios estão disponíveis sob a licença Creative Commons Attribution/Share-Alike License; termos adicionais podem se aplicar. Itens de media e outros conteúdos estão disponíveis sob outras licenças, como detalhado nas páginas de descrição deles.

See also