mkroetzsch added a comment.

@Smalyshev We really want the same thing: move on with minimal disturbance as 
quickly as possible. As you rightly say, the data we generate right now is not 
meant for production use but for testing. We must make sure that our production 
environment will understand dates properly, but it's still some time before 
that. Here is my proposal summed up:

1. Implement RDF export now as if Wikidata would encode all dates in ISO 
8601:2000 (proleptic Gregorian with year 0 encoding -1BCE)
2. Have a switch in the RDF export code that allows us to export to RDF 1.1 or 
to RDF 1.0.

Item 1 will ensure that we can work with the dates as they will most likely be 
when we enter production. With the discovery that all of JavaScript relies on 
ISO 8601:2000, there is not much of a question that we will have this corrected 
in the end. It would be a waste of programming time to work around issues that 
others are already trying to fix as we speak. We can still implement 
reinterpretations of the internal dates when we find that the internal format 
is still broken when we want to release this (I hope this won't happen).

Item 2 is a compromise. It will ensure that we can use BlazeGraph even before 
the xsd:date bug is fixed. Has anyone reported the issue to them yet? It might 
well be that they are quicker fixing this than we are finishing this 
discussion. I am sure they would also like to conform to SPARQL 1.1.

I agree with you that some dates will not be interpreted as intended, but this 
is unavoidable (whatever rule we pick, we will always have some dates that are 
not as intended, already because of the calendar model mix-up). We have to rely 
on the ongoing review to get this fixed. This should not worry us right now, as 
it affects everyone (including actual production uses of Wikidata data from the 
API or JSON dumps).


TASK DETAIL
  https://phabricator.wikimedia.org/T94064

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev, mkroetzsch
Cc: Lydia_Pintscher, Denny, Manybubbles, daniel, mkroetzsch, Smalyshev, 
JanZerebecki, Aklapper, jkroll, Wikidata-bugs, Jdouglas, aude, GWicke



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to