Re: sh:minInclusive and custom datatypes

That is really cool Vladimir. I had no idea. Very well thought out too!

I’ll let one of my contacts know. Maybe this is something they could be interested in. 

Håvard

> On 3 Nov 2020, at 11:14, Vladimir Alexiev <vladimir.alexiev@ontotext.com> wrote:
> 
> 
> >  being able to compare feet to inches to millimeters and so on
> 
> There is such a thing:
> https://ci.mines-stetienne.fr/lindt/index.html
> https://ci.mines-stetienne.fr/lindt/playground.html
> https://ci.mines-stetienne.fr/lindt/v2/custom_datatypes.html, https://ci.mines-stetienne.fr/lindt/spec.html
> https://github.com/thesmartenergy/jena, https://github.com/OpenSensingCity/jena-ucum
> It's based on the Java UCUM library.
> It puts number and unit in the same string eg "1 m"^^cdt:ucum, "100 cm"^^cdt:ucum.
> This is very economical, but more importantly you can compare such quantities, and you can also do arithmetic operations on quantities.
> Maxime tells me it even supports complex numbers, which are important in some electricity applications, is that correct? Can you give an example?
> 
> LINDT is very ingenious and it's a pity that it hasn't found a wider following.
> It's implemented as a Jena branch but hasn't been merged into trunk: "This branch is 14 commits ahead, 5325 commits behind apache:master."
> We have been looking for a pretext (i.e. client) to implement it in rdf4j.
> I think it would be great if the Sensor, Smarti City and WoT communities adopt this approach. 
> I'll post it on the SPARQL 1.2 github.

Received on Tuesday, 3 November 2020 12:56:32 UTC