platform icon indicating copy to clipboard operation
platform copied to clipboard

Use human-readable measurement units and data types

Open denkv opened this issue 4 years ago • 0 comments

User story

When displaying parameter or KPI values which have measurement units, use human-readable units for each value.

Actual

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> ] .

Expected

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>

denkv avatar Dec 23 '20 17:12 denkv