Skip to content

Unit strategy #201

@jesper-friis

Description

@jesper-friis

Strategy for adding units.

A intended basic use should be to specify one or more unit ontologies, with EMMO being the default. However, adding a new unit to the ontologies is often time-consuming, so we also need a simple way to specify new units. That can be done with triples:

- configurations:
    clear: True  # Whether to start with a blank unit registry
    prefixes:
      emmo: http://emmo.info/emmo#
      oteio: http://emmo.info/oteio#
      onto: http://example.com/onto#
    ontologies:  # Ontologies to load units from
      emmo: emmo-based
    triples:
      - [onto:DogYear, oteapi:hasUnitDef, "dog_year = 52 * day = DogYear"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions