Tagishsimon created this task. Tagishsimon added a project: Wikidata-Query-Service. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata.
TASK DESCRIPTION WDQS holds dates as xsd:dateTime using the proleptic Gregorian calendar. - https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format#Time Julian calendar dates entered into Wikidata are stored as such in JSON. They are converted to proleptic Gregorian calendar dates for WDQS However, WDQS stores the original - Julian - calendar as the value for wikibase:timeCalendarModel It follows that a Julian date entered and displayed as expected in Wikidata - such as https://www.wikidata.org/wiki/Q16931292#P571 - 22 June 1498 - is in WDQS represented by the following value set: simplevalue (ps:P571 <https://phabricator.wikimedia.org/P571>) - 1 July 1498 value (psv:P571 <https://phabricator.wikimedia.org/P571>/wikibase:timeValue - 1 July 1498 calendar (psv:P571 <https://phabricator.wikimedia.org/P571>/wikibase:timeCalendarModel) - wd:Q1985786 (proleptic Julian calendar) - see https://w.wiki/JYf By any reasonable definition, this is an error. WDQS is representing the value as 1 July 1498 Julian, when, at best, it should be 1 July 1498 Gregorian, and ideally should be 22 June 1498 Julian. I think this date handling needs a rethink, perhaps along the line of: BDD given: Julian date in wikidata when: WDQS reports on the date then: - ps:Pnnn value should be the Julian date - psv:Pnnn/wikibase:timeValue should be the Julian date - psv:Pnnn/wikibase:timeCalendarModel) should be wd:Q1985786 (proleptic Julian calendar) - psn:Pnnn/wikibase:timeValue should be the Gregorian date - psn:Pnnn/wikibase:timeCalendarModel) should be wd:Q1985727 (proleptic Gregorian calendar) TASK DETAIL https://phabricator.wikimedia.org/T246731 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Tagishsimon Cc: Tagishsimon, Aklapper, darthmon_wmde, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs