[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-03-15 Thread Arian_Bozorg
Arian_Bozorg closed this task as "Resolved".
Arian_Bozorg moved this task from Product Verification to Our work done on the 
Wikidata Dev Team (Sprint-∞) board.
Arian_Bozorg added a comment.


  Thanks so much for looking into this Michael :)

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

WORKBOARD
  https://phabricator.wikimedia.org/project/board/6017/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael, Arian_Bozorg
Cc: Lydia_Pintscher, ItamarWMDE, Michael, karapayneWMDE, Aklapper, 
Arian_Bozorg, Astuthiodit_1, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-03-06 Thread Lydia_Pintscher
Lydia_Pintscher added a parent task: T321543: Making other entity types more 
accessible through the search box.

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael, Lydia_Pintscher
Cc: Lydia_Pintscher, ItamarWMDE, Michael, karapayneWMDE, Aklapper, 
Arian_Bozorg, Astuthiodit_1, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-03-01 Thread Michael
Michael added a comment.


  In T327507#8649433 , 
@Lydia_Pintscher wrote:
  
  > [...] So the designs so far all revolve around specifying the entity type 
or grouping by entity type. I think this is also better from a user PoV because 
the fact that there are very different types of entities is more obvious.
  
  Ok, so if we split this by type, then it should only need minor adjustments 
for Properties and Lexemes (I think a search with `wbsearchentities` for 
Lexemes currently only display one Lemma, and we might want to see all of them).
  
  For EntitySchema, I think, we would need to create a new API endpoint, and 
there is already a feature request for that: T304070: API Endpoint to search 
for Schemas 

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: Lydia_Pintscher, ItamarWMDE, Michael, karapayneWMDE, Aklapper, 
Arian_Bozorg, Astuthiodit_1, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-03-01 Thread Michael
Michael added a comment.


  In T327507#8649433 , 
@Lydia_Pintscher wrote:
  
  > Yeah when I discussed this with Stas from the Search team ages ago he 
basically said we can forget any meaningful ranking across entity types. [...]
  
  Well, we //do// have meaningful ranking across Properties and Items on 
Special:Search, as shown above 
. However, I agree that this 
is probably tricky to achieve, and, currently, it breaks down when adding the 
Lexeme namespace.
  
  I spontaneously joined the Search Team Office Hour today and asked about that 
and got a few pointers. (Thanks!)
  
  - one can add `=pretty` to the search url, and 
it shows explanatory output
- (`verbose` and `json` are other valid values for `cirrusExplain`)
- one can see there is pretty different output based on whether Lexeme 
namespace is included or not:
  - explained search for "color" in Items and Properties 

  - explained search for "color" in Items, Properties, and Lexemes 

- notice that the scores when searching for Lexemes are much simpler, 
probably that comes from Lexeme using a different SearchProfile or something 
than core Wikibase
  - probably that would be in Lexeme's handler for the 
onCirrusSearchProfileService hook 

  - one way to dig into this further and make this better comparable would be 
to look at the explained search results for a specific item under different 
conditions:
- explained search for "Game Boy Color" in Items and Properties 

- explained search for "Game Boy Color" in Items, Properties, and Lexemes 

  
  But, as said above, getting this right across a diverse domain of namespaces 
is probably a pretty intricate challenge and maybe not the best thing to do 
right now.

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: Lydia_Pintscher, ItamarWMDE, Michael, karapayneWMDE, Aklapper, 
Arian_Bozorg, Astuthiodit_1, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-27 Thread Lydia_Pintscher
Lydia_Pintscher added a comment.


  Yeah when I discussed this with Stas from the Search team ages ago he 
basically said we can forget any meaningful ranking across entity types. So the 
designs so far all revolve around specifying the entity type or grouping by 
entity type. I think this is also better from a user PoV because the fact that 
there are very different types of entities is more obvious.

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael, Lydia_Pintscher
Cc: Lydia_Pintscher, ItamarWMDE, Michael, karapayneWMDE, Aklapper, 
Arian_Bozorg, Astuthiodit_1, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-27 Thread Michael
Michael added a comment.


  The CirrusSearch search callbacks for Items, Properties and Lexemes can be 
found at
  
  - 
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikibaseCirrusSearch/+/refs/heads/master/WikibaseSearch.entitytypes.php
  - 
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikibaseLexemeCirrusSearch/+/refs/heads/master/WikibaseSearch.entitytypes.repo.php
  
  However, these are all specific to their respective entity type. I have yet 
to understand why Special:Search shows very different results depending on 
which namespace is included.
  
  (timebox used so far: ~3:15)

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: ItamarWMDE, Michael, karapayneWMDE, Aklapper, Arian_Bozorg, Astuthiodit_1, 
Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-27 Thread Michael
Michael added a comment.


  That being said, if we want to show them in one single feed of suggestions, 
then this probably will need some dedicated work in CirrusSearch/Elastic. See 
for example the difference in results by just selecting the additional Lexeme 
namespace:
  
  - Search for "color" in Items and Properties: 
https://www.wikidata.org/w/index.php?search=color=Special%3ASearch=advanced=1=1=1
  - Search for "color" in Items and Properties and Lexemes: 
https://www.wikidata.org/w/index.php?search=color=Special%3ASearch=advanced=1=1=1=1

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: ItamarWMDE, Michael, karapayneWMDE, Aklapper, Arian_Bozorg, Astuthiodit_1, 
Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-27 Thread Michael
Michael added a comment.


  In T327507#8648836 , 
@Michael wrote:
  
  > One possible approach could be to enable autocomplete / typeahead for other 
entity types based on a prefix:
  >
  > - no prefix -> autocomplete for Items
  > - prefix `P:` -> autocomplete for Properties
  > - prefix `L:` -> autocomplete for Lexemes
  >
  > With this approach, it would likely only be a moderate amount of work to 
also make it work for EntitySchema, probably with a different API endpoint.
  
  The underlying idea could also work when presenting the search results of the 
different Entity types / namespaces in separate lists below / next to each 
other. This would then be mainly a UX challenge.

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: ItamarWMDE, Michael, karapayneWMDE, Aklapper, Arian_Bozorg, Astuthiodit_1, 
Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-27 Thread Michael
Michael added a comment.


  One possible approach could be to enable autocomplete / typeahead for other 
entity types based on a prefix:
  
  - no prefix -> autocomplete for Items
  - prefix `P:` -> autocomplete for Properties
  - prefix `L:` -> autocomplete for Lexemes
  
  With this approach, it would likely only be a moderate amount of work to also 
make it work for entity Schemas, probably with a different API endpoint.

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: ItamarWMDE, Michael, karapayneWMDE, Aklapper, Arian_Bozorg, Astuthiodit_1, 
Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-27 Thread ItamarWMDE
ItamarWMDE added a comment.


  https://phabricator.wikimedia.org/T327507#8648401

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael, ItamarWMDE
Cc: ItamarWMDE, Michael, karapayneWMDE, Aklapper, Arian_Bozorg, Astuthiodit_1, 
Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-27 Thread Michael
Michael added a comment.


  For Properties and Lexemes: Individually, these Entity types are already 
supported by the API:
  
  - 
https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsearchentities=json=instance%20of=en=property=2
  - 
https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsearchentities=json=color=en=lexeme=2
  
  However, the `wbsearchentities` API currently requires exactly one `type` 
parameter (defaulting to `item`). Also, we need to figure out if 
CirrusSearch/Elastic is meaningfully able to search across entity types.

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: Michael, karapayneWMDE, Aklapper, Arian_Bozorg, Astuthiodit_1, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-27 Thread Michael
Michael added a comment.


  That autocomplete uses the `wbsearchentities` API endpoint. As it was 
recently decided* that EntitySchema should not become Entities, they will not 
be available here without major changes.
  
  - FTR: I disagreed with that decision.

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: Michael, karapayneWMDE, Aklapper, Arian_Bozorg, Astuthiodit_1, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-27 Thread Michael
Michael claimed this task.
Michael moved this task from Todo/Backlog to Doing on the Wikidata Dev Team 
(Sprint-∞) board.
Restricted Application added a project: User-Michael.

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

WORKBOARD
  https://phabricator.wikimedia.org/project/board/6017/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: Michael, karapayneWMDE, Aklapper, Arian_Bozorg, Astuthiodit_1, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-07 Thread karapayneWMDE
karapayneWMDE moved this task from Unified prioritized backlog to Sprint-∞ on 
the Wikidata Dev Team board.
karapayneWMDE edited projects, added Wikidata Dev Team (Sprint-∞); removed 
Wikidata Dev Team.

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

WORKBOARD
  https://phabricator.wikimedia.org/project/board/6016/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: karapayneWMDE
Cc: karapayneWMDE, Aklapper, Arian_Bozorg, Astuthiodit_1, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-07 Thread karapayneWMDE
karapayneWMDE added a comment.


  timebox: 2 days

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: karapayneWMDE
Cc: karapayneWMDE, Aklapper, Arian_Bozorg, Astuthiodit_1, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-07 Thread karapayneWMDE
karapayneWMDE set the point value for this task to "1".

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: karapayneWMDE
Cc: Aklapper, Arian_Bozorg, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T327507: Investigation: Display Search Suggestion for Lexemes, Entity Schemas and Properties

2023-02-06 Thread karapayneWMDE
karapayneWMDE renamed this task from "Investigation: Search for Lexemes, Entity 
Schemas and Properties" to "Investigation: Display Search Suggestion for 
Lexemes, Entity Schemas and Properties".

TASK DETAIL
  https://phabricator.wikimedia.org/T327507

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: karapayneWMDE
Cc: Aklapper, Arian_Bozorg, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org