Page MenuHomePhabricator

[EPIC] Access to Wikidata's lexicographical data from Wiktionaries and other WMF sites
Open, Needs TriagePublic

Description

Now we have lexicographical data on Wikidata, it should be possible to reuse it on Wiktionaries with Lua functions.

Open questions for the communities:

  • what kind of data do you want to access?
  • what are the use cases you could imagine?
  • what Lua functions would be helpful for you?

Event Timeline

Addshore rescinded a token.
Addshore awarded a token.
deryckchan renamed this task from [EPIC] Access to Wikidata's lexicographical data from Wiktionaries to [EPIC] Access to Wikidata's lexicographical data from Wiktionaries and other WMF sites.Jan 26 2019, 11:09 PM

Hello @deryckchan, and thanks for creating this task!
We're actually considering this for the year to come, but before starting developping anything, we need to understand better what people would like to do with the data, how they would like to display it on their wiki, what kind of Lua functions they would need.
If you already have some ideas, or use cases, feel free to share :)

As I wrote on T213941

I would envisage this being done using parser functions, similar to {{#property:}} for Q-items.

As the first step, we should make {{#statements:}} and {{#property:}} work for Lexemes too. For example, we should make these work:

  • {{#statements:P5974|from=Q4115189}} (i.e. domain:item; datatype:Lexeme/Sense/Form) currently outputs the Lexeme-Sense ID "L123-S2". It should output the lemma or gloss
  • {{#statements:P5974|from=L123-S2}} (i.e. domain:Lexeme/Sense/Form; datatype:anything) throws parser error at the moment

This will address migration blocks like https://www.wikidata.org/wiki/Wikidata:Properties_for_deletion#Property:P2521, where the lack of a feature to call Lexemes in Wikipedias is blocking the migration of a property.