platform
platform copied to clipboard
Use human-readable measurement units and data types
User story
When displaying parameter or KPI values which have measurement units, use human-readable units for each value.
Solution
Measurement units should be stored in the data (right now there's just a label which explains what the unit is). Possible approaches:
- use custom RDF datatypes
- use a resource object with
rdf:value
and another property for the unit, as defined in https://www.w3.org/TR/rdf-schema/#ch_value:<http://www.example.com/2002/04/products#item10245> <http://www.example.org/terms/weight> [ rdf:value 2.4 ; <http://www.example.org/terms/units> <http://www.example.org/units/kilograms> ] .
This also should handle various data types, for example:
- code in DOT language (currently detected as
/^digraph \{/
on the frontend) - KPIs with
rdfs:range <http://purl.org/linked-data/cube#DataSet>