Problem:
The search on Wikidata allows searching using the haswbstatements parameter. When doing this the search finds hits on Lexemes but only on the main part of the Lexeme. Statements on Forms and Senses don't seem accessible. It would however be very useful to have for Wikifunctions/Abstract Wikipedia. We need to understand why they are not searchable. Is it because they are not indexed or are they indexed in a way that makes them not show up in the searches we are doing?
Example:
- https://www.wikidata.org/w/index.php?search=haswbstatement%3AP6191%3DQ55094451&title=Special%3ASearch&profile=advanced&fulltext=1&ns146=1 doesn't find https://www.wikidata.org/wiki/Lexeme:L1119 even though it has a matching statement on a Form
- https://www.wikidata.org/w/index.php?search=haswbstatement%3AP5137%3DQ144&title=Special%3ASearch&profile=advanced&fulltext=1&ns146=1&searchToken=45eion4mlxsxfmqwdhr8zrh1o doesn't find https://www.wikidata.org/wiki/Lexeme:L1122 even though it does have a matching statement on a Sense. The search results do however include for example https://www.wikidata.org/wiki/Lexeme:L687498 where the statement is on the Lexeme-level instead of on a Sense or Form.
Acceptance criteria:
- We understand why the statements on Forms and Senses do not show up in searches using haswbstatement.
Open questions:
- Should the statements on Forms and Senses be included in the Lexeme searches or rather be treated as their own entities here and return the Sense or Form in the result?