daniel added a comment.

@Jc3s5h Please calm down. Documentation is often outdated or inconsistent or 
unclear. We can work to improve it, but it will never be perfect. But that is 
not the issue here, since I did mean ISO - well, technically, I mean 
xsd:datetime. I did not mean "iso-ish string maybe using some other calendar".

We would use an xsd date (ISO) for the *normalized* value, for indexing and 
comparison. Internally, the value would be stored in a calendar specific way - 
for gregorian and julian, in something that uses a similar syntax as ISO. That 
"original" value would also be visible in JSON output, along with the 
normalized form (currently, the normalized form is not there yet). In RDF, it's 
still unclear whether we'll include the original value at all, or only use the 
normalized form.

The same kind of normalization would be applied to make sure that all values of 
the "length" property will be comparable by converting them all to meters 
(while still making the original value available in rdf). You would have two 
values associated with the statement, one "original" (in miles or whatever), 
one "normalized" (in meter).


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

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

To: daniel
Cc: Jc3s5h, aude, daniel, Aklapper, Smalyshev, jkroll, Wikidata-bugs, Jdouglas, 
Deskana, Manybubbles



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

Reply via email to