Wikidata

From Safer nicotine wiki
Jump to navigation Jump to search

[[Category:Lua error: Internal error: The interpreter exited with status 127. with short description]]Lua error: Internal error: The interpreter exited with status 127.Expression error: Unexpected < operator.Lua error: Internal error: The interpreter exited with status 127.

For Wikipedia's information page on Wikidata, see Wikipedia:Wikidata.

Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127.Lua error: Internal error: The interpreter exited with status 127.Lua error: Internal error: The interpreter exited with status 127.Lua error: Internal error: The interpreter exited with status 127.

Wikidata is a collaboratively edited multilingual knowledge graph hosted by the Wikimedia Foundation. It is a common source of open data that Wikimedia projects such as Wikipedia,[1][2] and anyone else, can use under the CC0 public domain license. Wikidata is a wiki powered by the software MediaWiki, and is also powered by the set of knowledge graph MediaWiki extensions known as Wikibase.

Concept

This diagram shows the most important terms used in Wikidata.
Lua error: Internal error: The interpreter exited with status 127.

Wikidata is a document-oriented database, focused on items, which represent any kind of topics, concepts, or objects. Each item is allocated a unique, persistent identifier, a positive integer prefixed with the upper-case letter Q, known as a "QID". This enables the basic information required to identify the topic that the item covers to be translated without favouring any language.

Examples of items include Lua error: Internal error: The interpreter exited with status 127. (Q8470), Lua error: Internal error: The interpreter exited with status 127. (Q316), Lua error: Internal error: The interpreter exited with status 127. (Q42775), Lua error: Internal error: The interpreter exited with status 127. (Q303), and Lua error: Internal error: The interpreter exited with status 127. (Q36611).


Item labels need not be unique. For example, there are two items named "Elvis Presley": Lua error: Internal error: The interpreter exited with status 127. (Q303), which represents the American singer and actor, and Lua error: Internal error: The interpreter exited with status 127. (Q610926), which represents his self-titled album. However, the combination of a label and its description must be unique. To avoid ambiguity, an item's unique identifier (QID) is therefore linked to this combination.

Item types are general and lexemes.Lua error: Internal error: The interpreter exited with status 127.

Main parts

Wikidata screenshot


A layout of the four main components of a phase-1 Wikidata page: the label, description, aliases and interlanguage links.

Fundamentally, an item consists of:

  • Obligatorily, an identifier (the QID), related to a label and a description.
  • Optionally, multiple aliases and some number of statements (and their properties and values).

Statements

Wikidata screenshot
Three statements from Wikidata's item on the planet Mars (Q111). Values include links to other items and to Wikimedia Commons.

Statements are how any information known about an item is recorded in Wikidata. Formally, they consist of key–value pairs, which match a property (such as "author", or "publication date") with one or more entity values (such as "Sir Arthur Conan Doyle" or "1902"). For example, the informal English statement "milk is white" would be encoded by a statement pairing the property Lua error: Internal error: The interpreter exited with status 127. (P462) with the value Lua error: Internal error: The interpreter exited with status 127. (Q23444) under the item Lua error: Internal error: The interpreter exited with status 127. (Q8495).

Statements may map a property to more than one value. For example, the "occupation" property for Marie Curie could be linked with the values "physicist" and "chemist", to reflect the fact that she engaged in both occupations.[3]

Values may take on many types including other Wikidata items, strings, numbers, or media files. Properties prescribe what types of values they may be paired with. For example, the property Lua error: Internal error: The interpreter exited with status 127. (P856) may only be paired with values of type "URL".[4]

Property and value

Example of a simple statement consisting of one property–value pair

Wikidata's method of structuring data involves two main elements: properties and values of said properties (termed "items" in Wikidata's terminology).[5][6]

A property describes the data value of a statement and can be thought of as a category of data, for example, Lua error: Internal error: The interpreter exited with status 127. (P462) for the data value Lua error: Internal error: The interpreter exited with status 127. (Q1088) or education for a person item.

As said, properties, when paired with values, form a statement in Wikidata.

The most used property is Lua error: Internal error: The interpreter exited with status 127. (P2860), which is used on more than 210,000,000 item pages.[7]

Properties have their own pages on Wikidata and as an item can include several properties, this results in a linked data structure of pages, under the same statement.

Properties may also define more complex rules about their intended usage, termed constraints. For example, the Lua error: Internal error: The interpreter exited with status 127. (P36) property includes a "single value constraint", reflecting the reality that (typically) territories have only one capital city. Constraints are treated as testing alerts and hints, rather than inviolable rules.[8]

Optionally, qualifiers can be used to refine the meaning of a statement by providing additional information that applies to the scope of the statement, within the values. For example, the property "population" could be modified with a qualifier such as "as of 2011". Values in the statements may also be annotated with references, pointing to a source backing up the statement's content.[9]

Lexemes

In linguistics, a lexeme is a unit of lexical meaning. Similarly, Wikidata's lexemes are items with a structure that makes them more suitable to store lexicographical data. Besides storing the language to which the lexeme refers, they have a section for forms and a section for senses.[10]

Development

The creation of the project was funded by donations from the Allen Institute for Artificial Intelligence, the Gordon and Betty Moore Foundation, and Google, Inc., totaling 1.3 million.[11][12] The development of the project is mainly driven by Wikimedia Deutschland under the management of Lydia Pintscher, and was originally split into three phases:[13]

  1. Centralising interlanguage links – links between Wikipedia articles about the same topic in different languages.
  2. Providing a central place for infobox data for all Wikipedias.
  3. Creating and updating list articles based on data in Wikidata and linking to other Wikimedia sister projects, including Meta-Wiki and the own Wikidata (interwikilinks).

Initial rollout

Wikipedia screenshot


A Wikipedia article's list of interlanguage links as they appeared in an edit box (left) and on the article's page (right) prior to Wikidata. Each link in these lists is to an article that requires its own list of interlanguage links to the other articles; this is the information centralized by Wikidata.
Wikidata screenshot
The "Edit links" link nowadays takes the reader to Wikidata to edit interlanguage and interwiki links.

Wikidata was launched on 29 October 2012 and was the first new project of the Wikimedia Foundation since 2006.[1][14][15] At this time, only the centralization of language links was available. This enabled items to be created and filled with basic information: a label – a name or title, aliases – alternative terms for the label, a description, and links to articles about the topic in all the various language editions of Wikipedia (interwikipedia links).

Historically, a Wikipedia article would include a list of interlanguage links, being links to articles on the same topic in other editions of Wikipedia, if they existed. Initially, Wikidata was a self-contained repository of interlanguage links.[16] Wikipedia language editions were still not able to access Wikidata, so they needed to continue to maintain their own lists of interlanguage links, mainly at the end of the articles' pages.Lua error: Internal error: The interpreter exited with status 127.

On 14 January 2013, the Hungarian Wikipedia became the first to enable the provision of interlanguage links via Wikidata.[17] This functionality was extended to the Hebrew and Italian Wikipedias on 30 January, to the English Wikipedia on 13 February and to all other Wikipedias on 6 March.[18][19][20][21] After no consensus was reached over a proposal to restrict the removal of language links from the English Wikipedia,[22] the power to delete them from the English Wikipedia was granted to automatic editors (bots). On 23 September 2013, interlanguage links went live on Wikimedia Commons.[23]

Statements and data access

On 4 February 2013, statements were introduced to Wikidata entries. The possible values for properties were initially limited to two data types (items and images on Wikimedia Commons), with more data types (such as coordinates and dates) to follow later. The first new type, string, was deployed on 6 March.[24]

The ability for the various language editions of Wikipedia to access data from Wikidata was rolled out progressively between 27 March and 25 April 2013.[25][26] On 16 September 2015, Wikidata began allowing so-called arbitrary access, or access from a given article of a Wikipedia to the statements on Wikidata items not directly connected to it. For example, it became possible to read data about Germany from the Berlin article, which was not feasible before.[27] On 27 April 2016 arbitrary access was activated on Wikimedia Commons.[28]

According to a 2020 study, a large proportion of the data on Wikidata consists of entries imported en masse from other databases by Internet bots, which helps to "break[] down the walls" of data silos.[29]

Query service and other improvements

On 7 September 2015, the Wikimedia Foundation announced the release of the Wikidata Query Service,[30] which lets users run queries on the data contained in Wikidata.[31] The service uses SPARQL as the query language. As of November 2018, there are at least 26 different tools that allow querying the data in different ways.[32]

On the other hand, in the Wiktionary lateral pane, the tools now includeLua error: Internal error: The interpreter exited with status 127. a "Wikidata item" to help create a new item and links to new pages.Lua error: Internal error: The interpreter exited with status 127. For example, this is useful when the item is only in the English Wiktionary and needs to be linked to another Wikimedia project, rather than to Wiktionaries in other languages.

Below is a SPARQL example to search an instance of (P31) television series (Q5398426) with the main subject (P921) about island (Q23442) and aviation accident (Q744913). However similar results can also be found directly on Wikipedia using category intersections if the appropriate categories exist and are allowed.

SELECT ?item ?itemLabel
WHERE {
  ?item wdt:P31 wd:Q5398426.
  ?item wdt:P921 wd:Q23442.
  ?item wdt:P921 wd:Q744913.
  SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".}
}

Below is another SPARQL example to find an instance of (P31) television series (Q5398426) where cast member (P161) includes Daniel Dae Kim (Q299700) and Jorge Garcia (Q264914). The television series condition prevents displaying a television series episode (Q21191270) / two-part episode (Q21664088) and does not show results that are a film (Q11424).

SELECT ?item ?itemLabel
WHERE {
  ?item wdt:P31 wd:Q5398426.
  ?item wdt:P161 wd:Q299700.
  ?item wdt:P161 wd:Q264914.
  SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".}
}

The bars on the logo contain the word "WIKI" encoded in Morse code.[33] It was created by Arun Ganesh and selected through community decision.[34]

Reception

In November 2014, Wikidata received the Open Data Publisher Award from the Open Data Institute "for sheer scale, and built-in openness".[35]

As of November 2018Lua error: Internal error: The interpreter exited with status 127., Wikidata information was used in 58.4% of all English Wikipedia articles, mostly for external identifiers or coordinate locations. In aggregate, data from Wikidata is shown in 64% of all Wikipedias' pages, 93% of all Wikivoyage articles, 34% of all Wikiquotes', 32% of all Wikisources', and 27% of Wikimedia Commons's. Usage in other Wikimedia Foundation projects is a testimonial.[36]

As of December 2020Lua error: Internal error: The interpreter exited with status 127., Wikidata's data was visualized by at least 20 other external tools[37] and at over 300 papers have been published about Wikidata.[38]

Wikidata's structured dataset has been used by virtual assistants such as Apple's Siri and Amazon Alexa.[39]

Applications

  • Mwnci extension can import data from Wikidata to LibreOffice Calc spreadsheets[40]
  • There are (at October 2019) discussions about using QID items in relation to what is being called QID emoji[41]
  • Wiki Explorer – Android application to discover things around you and micro editing Wikidata[42]
  • KDE Itinerary – a privacy conscious open source travel assistant that uses data from Wikidata[43]

See also

Lua error: Internal error: The interpreter exited with status 127.

Lua error: Internal error: The interpreter exited with status 127.

References

  1. ^ a b Wikidata (Lua error: Internal error: The interpreter exited with status 127.)
  2. ^ Lua error: Internal error: The interpreter exited with status 127.
  3. ^ Lua error: Internal error: The interpreter exited with status 127.
  4. ^ Lua error: Internal error: The interpreter exited with status 127.
  5. ^ Lua error: Internal error: The interpreter exited with status 127.
  6. ^ Lua error: Internal error: The interpreter exited with status 127.
  7. ^ Lua error: Internal error: The interpreter exited with status 127.
  8. ^ Lua error: Internal error: The interpreter exited with status 127.
  9. ^ Lua error: Internal error: The interpreter exited with status 127.
  10. ^ Lua error: Internal error: The interpreter exited with status 127.
  11. ^ Lua error: Internal error: The interpreter exited with status 127.
  12. ^ Lua error: Internal error: The interpreter exited with status 127.
  13. ^ Lua error: Internal error: The interpreter exited with status 127.
  14. ^ Lua error: Internal error: The interpreter exited with status 127.
  15. ^ Lua error: Internal error: The interpreter exited with status 127.
  16. ^ Lua error: Internal error: The interpreter exited with status 127.
  17. ^ Lua error: Internal error: The interpreter exited with status 127.
  18. ^ Lua error: Internal error: The interpreter exited with status 127.
  19. ^ Lua error: Internal error: The interpreter exited with status 127.
  20. ^ Lua error: Internal error: The interpreter exited with status 127.
  21. ^ Lua error: Internal error: The interpreter exited with status 127.
  22. ^ Lua error: Internal error: The interpreter exited with status 127.
  23. ^ Lua error: Internal error: The interpreter exited with status 127.
  24. ^ Lua error: Internal error: The interpreter exited with status 127.
  25. ^ Lua error: Internal error: The interpreter exited with status 127.
  26. ^ Lua error: Internal error: The interpreter exited with status 127.
  27. ^ Lua error: Internal error: The interpreter exited with status 127.
  28. ^ Lua error: Internal error: The interpreter exited with status 127.
  29. ^ Lua error: Internal error: The interpreter exited with status 127.
  30. ^ https://query.wikidata.org/
  31. ^ Lua error: Internal error: The interpreter exited with status 127.
  32. ^ Lua error: Internal error: The interpreter exited with status 127.
  33. ^ commons:File talk:Wikidata-logo-en.svg#Hybrid. Retrieved 2016-10-06.
  34. ^ Lua error: Internal error: The interpreter exited with status 127.
  35. ^ Lua error: Internal error: The interpreter exited with status 127.
  36. ^ Lua error: Internal error: The interpreter exited with status 127.
  37. ^ Lua error: Internal error: The interpreter exited with status 127.
  38. ^ Lua error: Internal error: The interpreter exited with status 127.
  39. ^ Lua error: Internal error: The interpreter exited with status 127.
  40. ^ Lua error: Internal error: The interpreter exited with status 127.
  41. ^ Lua error: Internal error: The interpreter exited with status 127.
  42. ^ Lua error: Internal error: The interpreter exited with status 127.
  43. ^ Lua error: Internal error: The interpreter exited with status 127.

Lua error: Internal error: The interpreter exited with status 127.

Further reading

External links

Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127.

  • Lua error: Internal error: The interpreter exited with status 127.Lua error: Internal error: The interpreter exited with status 127.
  • Videos: WikidataCon on media.ccc.de

Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127.