Marsupium added a comment.
Hello, I'm not sure if I've described the use case somewhere before. But a future use case for this would be c:Module:Technique <https://commons.wikimedia.org/wiki/Module:Technique>. The module translates (concepts) of materials, (artistic) techniques, colors and some similar things from a controlled English-language vocabulary of roughly 1000 terms into grammatically correct descriptions in currently 35 languages. With Lua access to lexicographical data we could get rid of local data on Commons in templates like this one <https://commons.wikimedia.org/w/index.php?title=Template:Technique/de> and new languages could easily added and thus internationalization of Commons improved. For that a performant way for this would be necessary: 1. starting with a Wikidata Q-ID 2. find a lexeme with item for this sense (P5137) <https://www.wikidata.org/w/index.php?title=Property:P5137>: item A (e.g. basalt (Q43338) <https://www.wikidata.org/wiki/Q43338>), in language B (e.g. Catalan), so here this would be basalt (L348865) <https://www.wikidata.org/wiki/Lexeme:L348865> 3. get the specific from needed with given grammatical features (e.g. singular), so here this would be "basalt" (L348865-F1) and get its representation Probably the second step will be difficult as its equivalent isn't possible for item and property data objects either. If this was possible though it could give internationalization on Commons and maybe other projects a great boost. Sorry for the long text, feel free to adapt it and move it to any potentially more appropriate place! TASK DETAIL https://phabricator.wikimedia.org/T294637 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Marsupium Cc: Marsupium, Alicia_Fagerving_WMSE, Premeditated, Infovarius, Nikki, daniel, So9q, DVrandecic, Jdforrester-WMF, Lucas_Werkmeister_WMDE, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, rosalieper, Bodhisattwa, Scott_WUaS, jberkel, Psychoslave, Wikidata-bugs, aude, Shizhao, Nemo_bis, Darkdadaah, Addshore, Mbch331, Ltrlg, Krenair
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
