Wikidata

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
For Wikipedia's information page on Wikidata, see Wikipedia:Wikidata.
Wikidata
Screenshot
Main page of Wikidata in April 2021
Type of site
Available inMultiple languages
OwnerWikimedia Foundation
CommercialNo
RegistrationOptional
Launched29 October 2012; 11 years ago (2012-10-29)

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.

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 (Q8470), (Q316), (Q42775), (Q303), and (Q36611).


Item labels need not be unique. For example, there are two items named "Elvis Presley": (Q303), which represents the American singer and actor, and (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.[clarification needed]

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 (P462) with the value (Q23444) under the item (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 (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, (P462) for the data value (Q1088) or education for a person item.

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

The most used property is (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 (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.[citation needed]

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 include[when?] a "Wikidata item" to help create a new item and links to new pages.[citation needed] 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 2018, 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 2020, 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 in mw.title.lua at line 318: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

References

  1. ^ a b Wikidata (Archived October 30, 2012, at WebCite)
  2. ^ "Data Revolution for Wikipedia". Wikimedia Deutschland. 30 March 2012. Archived from the original on 11 September 2012. Retrieved 11 September 2012.
  3. ^ "Help:Statements – Wikidata". www.wikidata.org.
  4. ^ "Help:Data type – Wikidata". www.wikidata.org.
  5. ^ Lua error in Module:Cite_Q at line 13: attempt to index a nil value.
  6. ^ Lua error in Module:Cite_Q at line 13: attempt to index a nil value.
  7. ^ "Wikidata:Database reports/List of properties/Top100". Retrieved 26 March 2021.
  8. ^ "Help:Property constraints portal – Wikidata". www.wikidata.org.
  9. ^ "Help:Sources – Wikidata". www.wikidata.org.
  10. ^ "Wikidata:Lexicographical data/Documentation – Wikidata". www.wikidata.org.
  11. ^ Dickinson, Boonsri (30 March 2012). "Paul Allen Invests In A Massive Project To Make Wikipedia Better". Business Insider. Retrieved 11 September 2012.
  12. ^ Perez, Sarah (30 March 2012). "Wikipedia's Next Big Thing: Wikidata, A Machine-Readable, User-Editable Database Funded By Google, Paul Allen And Others". TechCrunch. Archived from the original on 11 September 2012. Retrieved 11 September 2012.
  13. ^ "Wikidata – Meta". meta.wikimedia.org.
  14. ^ Pintscher, Lydia (30 October 2012). "wikidata.org is live (with some caveats)". wikidata-l (Mailing list). Retrieved 3 November 2012.
  15. ^ Roth, Matthew (30 March 2012). "The Wikipedia data revolution". Wikimedia Foundation. Archived from the original on 11 September 2012. Retrieved 11 September 2012.
  16. ^ Leitch, Thomas (1 November 2014). Wikipedia U: Knowledge, Authority, and Liberal Education in the Digital Age (in English). Johns Hopkins University Press. p. 120. ISBN 978-1-4214-1550-5.
  17. ^ Pintscher, Lydia (14 January 2013). "First steps of Wikidata in the Hungarian Wikipedia". Wikimedia Deutschland. Retrieved 17 December 2015.
  18. ^ Pintscher, Lydia (30 January 2013). "Wikidata coming to the next two Wikipedias". Wikimedia Deutschland. Retrieved 31 January 2013.
  19. ^ Pintscher, Lydia (13 February 2013). "Wikidata live on the English Wikipedia". Wikimedia Deutschland. Retrieved 15 February 2013.
  20. ^ Pintscher, Lydia (6 March 2013). "Wikidata now live on all Wikipedias". Wikimedia Deutschland. Retrieved 8 March 2013.
  21. ^ "Wikidata ist für alle Wikipedien da" (in German). Golem.de. Retrieved 29 January 2014.
  22. ^ "Wikipedia talk:Wikidata interwiki RFC". 29 March 2013. Retrieved 30 March 2013.
  23. ^ Pintscher, Lydia (23 September 2013). "Wikidata is Here!". Commons:Village pump.
  24. ^ Pintscher, Lydia. "Wikidata/Status updates/2013 03 01". Wikimedia Meta-Wiki. Wikimedia Foundation. Retrieved 3 March 2013.
  25. ^ Pintscher, Lydia (27 March 2013). "You can have all the data!". Wikimedia Deutschland. Retrieved 28 March 2013.
  26. ^ "Wikidata goes live worldwide". The H. 25 April 2013. Archived from the original on 1 January 2014.
  27. ^ Lydia, Pintscher (16 September 2015). "Wikidata: Access to data from arbitrary items is here". Wikipedia:Village pump (technical). Retrieved 30 August 2016.
  28. ^ Lydia, Pintscher (27 April 2016). "Wikidata support: arbitrary access is here". Commons:Village pump. Retrieved 30 August 2016.
  29. ^ Lua error in Module:Cite_Q at line 13: attempt to index a nil value.
  30. ^ https://query.wikidata.org/
  31. ^ "[Wikidata] Announcing the release of the Wikidata Query Service - Wikidata - lists.wikimedia.org".
  32. ^ "Wikidata:Tools/Query data – Wikidata". www.wikidata.org.
  33. ^ commons:File talk:Wikidata-logo-en.svg#Hybrid. Retrieved 2016-10-06.
  34. ^ "Und der Gewinner ist..." 13 July 2012.
  35. ^ "First ODI Open Data Awards presented by Sirs Tim Berners-Lee and Nigel Shadbolt". Archived from the original on 24 March 2016.
  36. ^ "Percentage of articles making use of data from Wikidata". Archived from the original on 15 November 2018. Retrieved 15 November 2018.
  37. ^ "Wikidata:Tools/Visualize data – Wikidata". www.wikidata.org.
  38. ^ "Scholia". Scholia.
  39. ^ Simonite, Tom (18 February 2019). "Inside the Alexa-Friendly World of Wikidata". Wired (in American English). ISSN 1059-1028. Retrieved 25 December 2020.
  40. ^ "Rob Barry / Mwnci – Deep Spreadsheets". GitLab.
  41. ^ "Public Review Issues".
  42. ^ "Wiki Explorer in the Google Play Store".
  43. ^ Krause, Volker, KDE Itinerary – A privacy by design travel assistant (in English), retrieved 10 November 2020

Further reading

External links

  • No URL found. Please specify a URL here or add one to Wikidata.
  • Videos: WikidataCon on media.ccc.de