Lucas_Werkmeister_WMDE added a comment.
I don’t see the problem. The exact value is `"1498-07-01T00:00:00Z"^^xsd:dateTime` (query <https://query.wikidata.org/#SELECT%0A%3Fsimplevalue%20%28STR%28%3Fsimplevalue%29%20AS%20%3FsimplevalueStr%29%20%28DATATYPE%28%3Fsimplevalue%29%20AS%20%3FsimplevalueDt%29%0A%3Fvalue%20%28STR%28%3Fvalue%29%20AS%20%3FvalueStr%29%20%28DATATYPE%28%3Fvalue%29%20AS%20%3FvalueDt%29%0A%3Fcalendar%20%3FcalendarLabel%0AWHERE%20%7B%0A%20%20wd%3AQ16931292%20p%3AP571%20%5B%0A%20%20%20%20ps%3AP571%20%3Fsimplevalue%3B%0A%20%20%20%20psv%3AP571%20%5B%0A%20%20%20%20%20%20wikibase%3AtimeCalendarModel%20%3Fcalendar%3B%0A%20%20%20%20%20%20wikibase%3AtimeValue%20%3Fvalue%0A%20%20%20%20%5D%0A%20%20%5D.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D> – the datatype is crucial). XSD date and time values <https://www.w3.org/TR/xmlschema-2/#isoformats> follow ISO 8601, which requires the Gregorian or proleptic Gregorian calendar. So the datatype already tells you how to interpret the value, and the `wikibase:timeCalendarModel` is therefore the calendar model of the value //before// it was converted to `xsd:dateTime`. When the RDF exporter encounters a date that it can’t convert to `xsd:datetime`, it emits a plain string instead – then, and only then, is the `wikibase:timeCalendarModel` also the calendar model of that string. Wikibase or the query service aren’t “representing the value as 1 July 1498 Julian” – they’re just representing the value as some triples. It’s your interpretation of those triples that’s flawed, as far as I understand: “1 July 1498 (proleptic Gregorian), originally specified as Julian” would be a closer English rendition of them, I believe. It might still be useful to also include the original, unconverted value in the RDF export (as a string, not an `xsd:dateTime`). But I don’t think there’s anything wrong with the current representation. TASK DETAIL https://phabricator.wikimedia.org/T246731 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Mahir256, Tagishsimon, Aklapper, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
