Description
Provide a new pre-defined & built-in function that returns (if available) a list of Lexeme IDs based on 3 inputs: Wikidata Item ID, Wikidata Property ID, and Language. The function can employ the search API augmented and discussed in T378097, to retrieve entities related to the given Wikidata Item ID and Wikidata Property ID. Then it needs to filter down to the lexemes, and filter the lexemes by the given Language. It's possible that filtering by Language might soon be supported by the search step; see T271776.
- Declare the function in function-schemata
- Declare the implementation in function-schemata
- Write the implementation code in the orchestrator
- Provide CI tests
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- The new function should return quickly without timeouts, noticeable delays, or other performance problems.
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist