| Smalyshev added a comment. |
Temporary fix:
# People who died in the last 7 days
SELECT ?person ?deathDate {
?person wdt:P31 wd:Q5 .
?person wdt:P570 ?deathDate .
FILTER(sameTerm(dataType(?deathDate), xsd:dateTime))
FILTER ( ?deathDate >= (now()-"P7D"^^xsd:duration) )
}The bug is triggered by comparing date with non-date (string) literal that somehow ended up in the DB.
TASK DETAIL
EMAIL PREFERENCES
To: Smalyshev
Cc: gerritbot, Smalyshev, Alphos, WikidataFacts, Aklapper, Sylvain_WMFr, mschwarzer, MelodyKramer, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331
Cc: gerritbot, Smalyshev, Alphos, WikidataFacts, Aklapper, Sylvain_WMFr, mschwarzer, MelodyKramer, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
