VladimirAlexiev added a comment.
Use `FILTER(?dateOfDeath >= "2020-01-01"^^xsd:date)` which is as convenient,
but is also a valid literal (note the datatype).
The trouble with accepting invalid input is that further computations then
become invalid. Eg how do you explain these results:
select * {
bind("2000-02-30T00:00:00Z"^^xsd:dateTime as ?x) # returns 2000 ???
bind(day("2000-02-30T00:00:00Z"^^xsd:dateTime) as ?x1) # returns 2 ???
}
TASK DETAIL
https://phabricator.wikimedia.org/T253718
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: VladimirAlexiev
Cc: Lucas_Werkmeister_WMDE, Aklapper, VladimirAlexiev, CBogen, darthmon_wmde,
Nandana, Namenlos314, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst,
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll,
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs