Page MenuHomePhabricator

index date statements
Open, MediumPublic

Description

Currently it's not possible to search items by values of date statement. See https://www.wikidata.org/w/index.php?title=Wikidata:Project_chat&oldid=1054523797#A_form_interface_to_run_some_basic_queries,_particularly_people_searches???

Expected:

You may find https://www.wikidata.org/wiki/Q2484851 by the following search terms:

  • William Dawson 1990
  • William Dawson 1990-05
  • William Dawson 1990-05-02
  • William Dawson haswbstatement:P570=1990
  • William Dawson haswbstatement:P570=1990-05
  • William Dawson haswbstatement:P570=1990-05-02

Optional but nice to have:

  • Search by dmy and mdy format
  • Search using name of month and abbreviation (November, Nov)
  • Search using no leading zero (1990-5-2)
  • Search using alternative seperator (1990.5.2, 1990/5/2)
  • I18n in searchs

Event Timeline

Not sure why Discovery-Search was added here - it's up to each team to decide what they want to have on their board, hence removing.

@Bugreporter: Thanks for explaining! Urgh, that should be a code project instead and not some team project which might change, sigh....

EBernhardson moved this task from needs triage to Wikibase Search on the Discovery-Search board.

I came across a use case for this feature. I'd like to add a search filter for birth and death dates in the Paulina tool. Adding the filter using the Wikdiata query service makes the procedure more complex and slower. It would be great if the WikibaseCirrusSearch haswbstatement keyword supported the datetime data type.