eclipse-rdf4j / rdf4j

Eclipse RDF4J: scalable RDF for Java
https://rdf4j.org/
BSD 3-Clause "New" or "Revised" License
358 stars 161 forks source link

implement LINDT UCUM units of measure #2643

Open VladimirAlexiev opened 3 years ago

VladimirAlexiev commented 3 years ago

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:

afs commented 3 years ago

"ajs6f" and "afs" are different people.

hmottestad commented 3 years ago

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.

abrokenjester commented 3 years ago

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.