-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conflated units, weight vs netWeight, xsd:double vs xsd:decimal #532
Comments
Note to self: |
@VladimirAlexiev can you make a recommendation for which terms should be used? |
|
Blocked by #536 |
Lets to this: We need to determine where the updates need to be made. First we need to gather the list of all places where this is happening today (where weight is present with underspecified type) |
Concrete actions:
Then follow
|
We should strive to include unit and value as blank nodes for predicate related to weight or volume. |
All places that use These should all be correct from a structure perspective. We should only need to change MeasuredValue and Quantitative Value to xsd:Decimal to fix these. All places that use |
Waiting for bandwidth. |
Discussed on June 20th Call decided to remove the 1.0 label. |
After #531, I noticed problems in the #395 (comment) example:
is translated to
I see these problems:
weightUnit, volumeUnit
are mapped tounitCode
, which conflates them (these are the units of which measure exactly?)weight
is not the same asuncefact:netWeightMeasure
IMHO: hwo do you know it's not gross weightweight, volume
to bexsd:double
. That's why they are translated to those inexact scientific notations with exponent.xsd:decimal
is infinite precision, but to ensure numbers are carried precisely in JSON, you have to transfer them as strings (eg"1671.9"
)The text was updated successfully, but these errors were encountered: