linkedfactory / specification

Documentation of the LinkedFactory data formats and APIs.
0 stars 0 forks source link

Handling of units of measurement #12

Open SimonStier opened 2 weeks ago

SimonStier commented 2 weeks ago

are unprefixed SI units enforced or is there a kvin:unit allowing S P [ <kvin:value> O ; <kvin:unit> U ; <kvin:time> T ] . ?

kenwenzel commented 2 weeks ago

Values are currently stored unitless. If you want to store units you can use a record like S P [ <kvin:value> [ <:myValue> 3.7 ; <:myUnit> U ] ; <kvin:time> T ] .

The challenge is that if we allow the specification of units for single values then we also need to support persistence of these units. Would it be also a solution to store units as RDF metadata?