Skip to content

[Suggestion] Semantic annotation of workflows #115

Open

Description

@jan-janssen

@samwaseda developed a semantic annotation package named semantikon which provides the option to include semantic annotations in the workflow definition, especially in terms of units for physical quantities. This could be a great extension for the Python Workflow Definition:

>>> from semantikon.typing import u
>>> from rdflib import Namespace
>>>
>>> EX = Namespace("http://example.org/")
>>> 
>>> def get_speed(
...     distance: u(float, units="meter", uri=EX.distance),
...     time: u(float, units="second", uri=EX.time),
... ) -> u(float, units="meter/second", label="speed", uri=EX.speed):
...     return distance / time

Activity

  1. changed the title [-][Suggestion] Semantik annotation of workflows[/-] [+][Suggestion] Semantic annotation of workflows[/+] on May 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions