Open VladimirAlexiev opened 3 years ago
"ajs6f" and "afs" are different people.
Also wanted to note that this would be useful to support in SHACL too. So a user could require a certain unit of measure or a certain value range regardless of the UoM.
I'm interested in this, but have very limited bandwidth to spend time on it myself.
There is also a possible legal issue due to the fact that the UCUM license is somewhat murky (see w3c/sparql-12#129 (comment) ). As also noted in that comment I doubt that the use to which we put it will in fact conflict with the license, but we may need to pass it by the EF legal team to make sure.
It might be worth doing a first spike of an implementation outside of the core RDF4J project, and then once we have something a bit more stable (both technically and legalities-wise) contribute it into the project for better integration.
I think that the LINDT UCUM units of measure of @maximelefrancois86 are very useful, see https://github.com/w3c/sparql-12/issues/129 for a description and discussion.
Is there interest to port LINDT from a Jena fork (https://github.com/OpenSensingCity/jena-ucum) to rdf4j?
A useful discussion is in https://lists.apache.org/thread.html/77cebe345679553c1df0a97d3c7ce29ad5555d2231522557420a8ae0@%3Cdev.jena.apache.org%3E . Excerpts from the mlist thread:
Comparator<NodeValue>
? (Thinking of sorting.) Comparing by implicit value can get into unstable sorting