Wikidata

This is an old revision of this page, as edited by Favonian (talk | contribs) at 13:29, 8 April 2021 (Reverted 2 edits by NBLB (talk) to last revision by Pppery). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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,[4][5] and anyone else, can use under the CC0 public domain license. Wikidata is powered by the software Wikibase.[6]

Wikidata
Main page of Wikidata in April 2021
Type of site
Available in Multiple languages
Founded 29 October 2012; 11 years ago (2012-10-29)[1]
Owner Wikimedia Foundation[2][3]
Editor Wikimedia community
URL wikidata.org Edit this at Wikidata
Commercial No
Registration Optional

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 1988 Summer Olympics (Q8470), love (Q316), Elvis Presley (Q303), and Gorilla (Q36611).

Item labels need not be unique. For example, there are two items named "Elvis Presley": Elvis Presley (Q303) represents the American singer and actor, and Elvis Presley (Q610926) represents his self-titled album.

But the label and the description text needs to be unique together. So, an Item is related with a unique identifier (QID). An identifier is linked to a pair: a label and a description, to dissolve any ambiguity.

Item types are general and lexemes.

Main parts

 


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

 
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 color (P462) with the value white (Q23444) under the item milk (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.[7]

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 official website (P856) may only be paired with values of type "URL".[8]

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 those properties (termed "items" in Wikidata's terminology).[9][10]

A property describes the data value of a statement and can be thought of as a category of data, for example, color (P462) for the data value blue (Q1088) or education for a person item.

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

The most used property is cites work (P2860), which is used on more than 210,000,000 item pages.[11]

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 capital (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.[12]

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.[13]

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.[14]

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.[15][16] The development of the project is mainly driven by Wikimedia Deutschland under the management of Lydia Pintscher, and was originally split into three phases:[17]

  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

 


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.
 
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.[4][18][19] 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.[20] 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.[21] 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.[22][23][24][25] After no consensus was reached over a proposal to restrict the removal of language links from the English Wikipedia,[26] 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.[27]

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.[28]

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.[29][30]

On 16 September 2015, Wikidata began allowing so-called arbitrary access, or access from a given Wikidata item to the properties of 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.[31] On 27 April 2016 arbitrary access was activated on Wikimedia Commons.[32]

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.[33]

Query service and other improvements

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

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 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.[37] It was created by Arun Ganesh and selected through community decision.[38]

Reception

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

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'. Usage in other Wikimedia Foundation projects is testimonial.[40]

As of December 2020, Wikidata's data was visualized by at least 20 other external tools[41] and at over 300 papers have been published about Wikidata.[42]

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

Applications

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

See also

References

  1. ^ "The Wikidata revolution is here: enabling structured data on Wikipedia". 25 April 2013. Retrieved 12 June 2022. Since Wikidata.org went live on 30 October 2012,
  2. ^ Error: Unable to display the reference properly. See the documentation for details.
  3. ^ Error: Unable to display the reference properly. See the documentation for details.
  4. ^ a b Wikidata (Archived October 30, 2012, at WebCite)
  5. ^ "Data Revolution for Wikipedia". Wikimedia Deutschland. 30 March 2012. Archived from the original on 11 September 2012. Retrieved 11 September 2012.
  6. ^ "Wikibase — Home".
  7. ^ "Help:Statements".
  8. ^ "Help:Data type".
  9. ^ Vrandečić, Denny; Krötzsch, Markus (October 2014). "Wikidata: a free collaborative knowledgebase". Communications of the ACM. 57 (10): 78–85. doi:10.1145/2629489. ISSN 0001-0782. Wikidata Q18507561.
  10. ^ Turki, Houcemeddine; Shafee, Thomas; Hadj Taieb, Mohamed Ali; Ben Aouicha, Mohamed; Vrandečić, Denny; Das, Diptanshu; Hamdi, Helmi (23 September 2019). "Wikidata: A large-scale collaborative ontological medical database". Journal of Biomedical Informatics. 99: 103292. doi:10.1016/J.JBI.2019.103292. ISSN 1532-0464. PMID 31557529. S2CID 203568040. Wikidata Q68471881.
  11. ^ "Wikidata:Database reports/List of properties/Top100". Retrieved 26 March 2021.
  12. ^ "Help:Property constraints portal".
  13. ^ "Help:Sources".
  14. ^ "Wikidata - Lexicographical data documentation".
  15. ^ Dickinson, Boonsri (30 March 2012). "Paul Allen Invests In A Massive Project To Make Wikipedia Better". Business Insider. Retrieved 11 September 2012.
  16. ^ 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.
  17. ^ "Wikidata - Meta".
  18. ^ Pintscher, Lydia (30 October 2012). "wikidata.org is live (with some caveats)". wikidata-l (Mailing list). Retrieved 3 November 2012.
  19. ^ Roth, Matthew (30 March 2012). "The Wikipedia data revolution". Wikimedia Foundation. Archived from the original on 11 September 2012. Retrieved 11 September 2012.
  20. ^ Leitch, Thomas (1 November 2014). Wikipedia U: Knowledge, Authority, and Liberal Education in the Digital Age. Johns Hopkins University Press. p. 120. ISBN 978-1-4214-1550-5.
  21. ^ Pintscher, Lydia (14 January 2013). "First steps of Wikidata in the Hungarian Wikipedia". Wikimedia Deutschland. Retrieved 17 December 2015.
  22. ^ Pintscher, Lydia (30 January 2013). "Wikidata coming to the next two Wikipedias". Wikimedia Deutschland. Retrieved 31 January 2013.
  23. ^ Pintscher, Lydia (13 February 2013). "Wikidata live on the English Wikipedia". Wikimedia Deutschland. Retrieved 15 February 2013.
  24. ^ Pintscher, Lydia (6 March 2013). "Wikidata now live on all Wikipedias". Wikimedia Deutschland. Retrieved 8 March 2013.
  25. ^ "Wikidata ist für alle Wikipedien da" (in German). Golem.de. Retrieved 29 January 2014.
  26. ^ "Wikipedia talk:Wikidata interwiki RFC". 29 March 2013. Retrieved 30 March 2013.
  27. ^ Pintscher, Lydia (23 September 2013). "Wikidata is Here!". Commons:Village pump.
  28. ^ Pintscher, Lydia. "Wikidata/Status updates/2013 03 01". Wikimedia Meta-Wiki. Wikimedia Foundation. Retrieved 3 March 2013.
  29. ^ Pintscher, Lydia (27 March 2013). "You can have all the data!". Wikimedia Deutschland. Retrieved 28 March 2013.
  30. ^ "Wikidata goes live worldwide". The H. 25 April 2013. Archived from the original on 1 January 2014.
  31. ^ Lydia, Pintscher (16 September 2015). "Wikidata: Access to data from arbitrary items is here". Wikipedia:Village pump (technical). Retrieved 30 August 2016.
  32. ^ Lydia, Pintscher (27 April 2016). "Wikidata support: arbitrary access is here". Commons:Village pump. Retrieved 30 August 2016.
  33. ^ Waagmeester, Andra; Stupp, Gregory; Burgstaller-Muehlbacher, Sebastian; et al. (17 March 2020). "Wikidata as a knowledge graph for the life sciences". eLife. 9. doi:10.7554/ELIFE.52614. ISSN 2050-084X. PMC 7077981. PMID 32180547. Wikidata Q87830400.{{cite journal}}: CS1 maint: unflagged free DOI (link)
  34. ^ https://query.wikidata.org/
  35. ^ "Announcing the release of the Wikidata Query Service".
  36. ^ "Wikidata Query Data tools".
  37. ^ commons:File talk:Wikidata-logo-en.svg#Hybrid. Retrieved 2016-10-06.
  38. ^ https://blog.wikimedia.de/2012/07/13/und-der-gewinner-ist/
  39. ^ "First ODI Open Data Awards presented by Sirs Tim Berners-Lee and Nigel Shadbolt". Archived from the original on 24 March 2016.
  40. ^ "Percentage of articles making use of data from Wikidata".
  41. ^ "Wikidata Tools - Visualize data".
  42. ^ "Scholia - Wikidata".
  43. ^ Simonite, Tom (18 February 2019). "Inside the Alexa-Friendly World of Wikidata". Wired. ISSN 1059-1028. Retrieved 25 December 2020.
  44. ^ Rob Barry / Mwnci - Deep Spreadsheets · GitLab
  45. ^ "Public Review Issues".
  46. ^ Wiki Explorer in the Google Play Store
  47. ^ Krause, Volker, KDE Itinerary - A privacy by design travel assistant, retrieved 10 November 2020

Further reading

External links

Template:Computable knowledge Template:Authority control files