Sarai-WMDE added a comment.
In T272697#6990424 <https://phabricator.wikimedia.org/T272697#6990424>, @Sarai-WMDE wrote: > I also noticed that we're not getting any results when queries only contain "month-year" or "year" date values (I'm assuming we want to allow this). For example, this query <https://w-beta.wmflabs.org/Ha> should find at least the First Balkan war <https://www.wikidata.org/wiki/Q177918>. This applies to "matching" relations too, not only ranges. > > Maybe the exclusion has to do with attaching year precision to incomplete values formatted in xsd:dateTime? Maybe we should use YEAR(?time) with precision>=9 in case only years are entered, or translate the input to ranges of xsd:dateTime values instead This is working after recent patch! TASK DETAIL https://phabricator.wikimedia.org/T272697 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Sarai-WMDE Cc: Michael, Sarai-WMDE, abian, Charlie_WMDE, Lydia_Pintscher, amy_rc, Aklapper, Invadibot, maantietaja, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs