Skip to content
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

Consider LINDT for adding Units of Measure #1

Open
VladimirAlexiev opened this issue Sep 18, 2024 · 3 comments
Open

Consider LINDT for adding Units of Measure #1

VladimirAlexiev opened this issue Sep 18, 2024 · 3 comments

Comments

@VladimirAlexiev
Copy link

@kenwenzel The README says

Planned: support quantities and units (QUDT and others)

Please first consider w3c/sparql-dev#129

@kenwenzel
Copy link
Member

Hey @VladimirAlexiev,

LINDT looks interesting and maybe it is not hard to support.
How are plain units expressed in LINDT? It seems that there is only a mechanism to express quantity values.

@VladimirAlexiev
Copy link
Author

VladimirAlexiev commented Oct 4, 2024

@kenwenzel in LINDT, units are not expressed as resources. They are strings whose meaning and processing is defined by UCUM and implemented in java (and other languages).
If you read the related issue, there's a fair amount of "hate" for LINDT exactly because of this. But I think we need a "belt and suspenders" aporoach:

  • QUDT has 2 fields for "UCUM code". We use that for the rich semantic description of units: qk, discipline, etc
  • we use LINDT for the convenient operations, and the countably infinite set of units that it supports
  • whenever a new unit is used often, we make a PR for QUDT to keep the mapping more complete

@kenwenzel
Copy link
Member

OK, sounds reasonable. Do you have a concrete example that uses units? Maybe we can use it to test the integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants