Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mgrub/dsi_from_qudt


https://github.com/mgrub/dsi_from_qudt

Last synced: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

# SPARQL QUDT to DSI extractor test

## Disclaimer

Please be aware that the source code provided in this repository is work in progress and doesn't claim to be correct or complete by any means.

## Goal

- prototypical proof-of-concept implementation to see, whether the conversion is possible at all
- aims to provide a DSI-string for (a selected subset of) the QUDT-units, e.g. to provide this to a user / LaTeX-engine

## Run the Code

Try the SPARQL code by copying it into the interface of:

Alternatively, for local execution you can use the provided Python scripts to download the required ontologies

```bash
python download_ontologies.py
```

and run them by

```bash
python execute_sparql.py
```

Please note, that this requires a Python environment with the packages listed in `requirements.txt`.
The creation of a dedicated Python environment (venv, pyenv, etc. ) is highly recommended.

## Known limits and issues

- only units with conversionmultiplier==1.0 and conversionoffset==0.0 considered so far (location+amount of prefixed units (e.g., mm/ms) of the prefix not clear, e.g. check m/ms = km/s )
- some units with DEG_C still show up, although offset units should be filtered?
- not considered so far: official order of quantities in DSI?
- not considered so far: dimensionless quantities like m/m

## Links

-
-
-