[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2016-09-06 Thread daniel
daniel added a comment. The above patch implements this for quantities. Datetime is already always normalized to ISO (Gregorian). Shall we close this, or wait until the subtasks are closed?TASK DETAILhttps://phabricator.wikimedia.org/T117031EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2016-09-06 Thread gerritbot
gerritbot added a comment. Change 296962 merged by jenkins-bot: Unit conversion support for full statements https://gerrit.wikimedia.org/r/296962TASK DETAILhttps://phabricator.wikimedia.org/T117031EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc:

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2016-07-17 Thread gerritbot
gerritbot added a comment. Change 296962 had a related patch set uploaded (by Smalyshev): Unit conversion support for full statements https://gerrit.wikimedia.org/r/296962TASK DETAILhttps://phabricator.wikimedia.org/T117031EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2016-02-22 Thread Jc3s5h
Jc3s5h added a comment. In https://phabricator.wikimedia.org/T117031#2050075, @Smalyshev wrote: > We are currently using XSD 1.1 format in both cases, and in both cases the date is (proleptic) Gregorian. I think Smalyshev didn't use the word "currently" clearly in this sentence.

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2016-02-21 Thread Smalyshev
Smalyshev added a comment. We are currently using XSD 1.1 format in both cases, and in both cases the date is (proleptic) Gregorian. TASK DETAIL https://phabricator.wikimedia.org/T117031 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Smalyshev

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2016-02-20 Thread Jc3s5h
Jc3s5h added a comment. For the [[mw:Wikibase/Indexing/RDF Dump Format]] I note that time already has a simple value and a full value. The simple value is already specified to be in the XSD 1.1 format if the full value can be converted to Gregorian. Would this simple value be sufficient?

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2016-02-20 Thread Jc3s5h
Jc3s5h added a comment. Let's discuss which version of the schema to use a a starting point. You suggesthttps://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#dateTime . But the linked version of the schema does not allow year zero, the linked version of the schema purports to support leap

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2016-02-19 Thread Smalyshev
Smalyshev added a comment. @Jc3s5h Basic ISO 8601 is not perfect for our goals, since we need to represent dates that non-extended ISO format can not. Thus, we are extending it, in accordance with W3C guidelines : > To

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2016-02-19 Thread Jc3s5h
Jc3s5h added a comment. An additional issue with borrowing the format from ISO 8601 (without using the definitions from ISO 8601) is that that standard requires a fixed number of digits for the years. So if the age of the universe is to be representable, today would have to be written

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2015-10-30 Thread Jc3s5h
Jc3s5h added a comment. xsd:dateTime reiterates the necessity of using the Gregorian calendar. The Gregorian calendar cannot possibly exist before the Earth, and Wikidata has a need to express dates that occurred before the Earth was formed. So either the TimeValue data type must be redefined

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2015-10-30 Thread daniel
daniel added a comment. @Smalyshev I only see one potential use case for precise dates in the distant past: astronomical events. But it seems unlikely we'll ever have items about individual eclipses or conjugations of planets in the far past. @Jc3s5h The ISO date would be used as the

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2015-10-30 Thread Jc3s5h
Jc3s5h added a comment. I would add that the question of whether, in the future, the transition from one day to the next should be determined by the rotation of the earth, or by atomic clocks which disregard the earth's rotation, will be the subject of (according to Rachel Courtland

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2015-10-30 Thread Aklapper
Aklapper added a comment. @Jc3s5h: Please read the Phabricator etiquette . Thanks for your understanding and your help to keep this discussion technical instead of personal. TASK DETAIL

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2015-10-30 Thread Jc3s5h
Jc3s5h added a comment. If our documentation or source code comments contain falsehoods then the Wikidata team is a pack of liars. ISO requires the Gregorian calendar. If you use an ISO-like notation to represent something other than the Gregorian calendar we are liars and Wikidata would

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2015-10-30 Thread daniel
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

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2015-10-29 Thread Smalyshev
Smalyshev added a comment. It means ISO 8601 compliant value. > The difference between these two approaches grows to a full day about the > year 3400 BC. Thus ISO 8601 is not fit for use in prehistoric times. Do we have any dates around or before year 3400 BC that are know with day or less

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2015-10-29 Thread Jc3s5h
Jc3s5h added a comment. The phrase "Gregorian ISO value" requires further consideration. For example, does it mean an ISO 8601 compliant value, or the strings currently in use which resemble ISO 8601 but permit a number of violations, such as "2015-**00**-**00**T00:00:00Z"? Also ISO 8601

[Wikidata-bugs] [Maniphest] [Commented On] T117031: Represent normalized unit values in full values RDF

2015-10-29 Thread Jc3s5h
Jc3s5h added a comment. We have "universe" (Q1) which displays the start date as " 13798 million years BCE Gregorian" (Gregorian is a superscript). But the furthest back one could possibly extrapolate the proleptic Gregorian calendar was the first time the Earth rotated on its axis, which was