Toni_001 added a comment.

  Hello. I stumbled over this ticket out of curiosity. Here my contribution:
  
  1. GeoSPARQL [1], which defines the `geo:wktLiteral` datatype, does not 
mention the concept of precision. Therefore, the number of digits does not 
imply any precision (at least not when following the standard).
  2. This is similar to the datatype `xsd:decimal` [2], which does not carry 
any information about precision. The standard states that explicitly and gives 
an example where 2.0 equals 2.00 (in that space of `xsd:decimal`).
  3. Wikibase already handles precision [3] with a `"precision"` field for 
coordinates and time, and `"upperBound"` and `"lowerBound"` for 
quantities/numbers.
  
  Therefore I'd conclude that the precision-argument alone is not sufficient to 
justify truncating digits. (There might be other, practical considerations, 
though.)
  
  [1] https://www.ogc.org/standards/geosparql/
  [2] https://www.w3.org/TR/xmlschema-2/#decimal
  [3] https://www.mediawiki.org/wiki/Wikibase/DataModel/JSON

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

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

To: Toni_001
Cc: Toni_001, Rishikumaralwal, Lucas_Werkmeister_WMDE, Lydia_Pintscher, 
WMDE-leszek, seav, thiemowmde, daniel, Aklapper, Smalyshev, CBogen, 
darthmon_wmde, ET4Eva, Nandana, Lahi, Gq86, Darkminds3113, GoranSMilovanovic, 
Jayprakash12345, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, _jensen, 
rosalieper, Scott_WUaS, Jonas, FloNight, Xmlizer, Wong128hk, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to