sentier-dev / sentier.dev

Open infrastructure for quantitative sustainability assessment
Other
3 stars 0 forks source link

Unit conversion app #29

Closed cmutel closed 1 week ago

cmutel commented 1 week ago

This issue has been moved to https://github.com/Depart-de-Sentier/brightcon-2024-material/issues/1 for the Brightcon hackathon

Overview

We have a database with units, code for a specific type of unit conversion, and the need for a general API for converting units in the future.

User stories

Let's build a webapp that can do the following:

And finally, tie all this together so you can start typing a unit, pick the right one from a dropdown, and then get tables of conversion factors for each system we include.

Unit systems

The unit systems we already have:

Unit systems I would like to have:

Tasks

Stretch goals:

Skosmos search

This is possibly hard. We have a search index via skosmos (which should also have an API), but it only searches on prefLabel (see search result for btu versus british), and maybe on altLabel. We are currently using notation ("Notations are symbols which are not normally recognizable as words or sequences of words in any natural language and are thus usable independently of natural-language contexts"), but we could change these to altLabel, or add altLabel in addition to notation (there are strings, even if they have custom data types, so should be fine for being instances of RDF plain literal).

cmutel commented 1 week ago

Moved to https://github.com/Depart-de-Sentier/brightcon-2024-material/issues/1