OpenEnergyPlatform / OpenEnergyPlatform/oeplatform

Scenario Bundles: Enhance frontend form by generating input fields from SHACL shape

Open
#2,101 0 comments 0 reactions 1 assignee View on GitHub

@jh-RLI is already working on this.

Since Oct 24, 2025.

Scenario Bundle
Dominant language
Python
Stars
65
Forks
29
Avg merge
15h 25m
Merged PRs (30d)
32

Description

Description of the issue

Currently, we maintain the scenario bundles as REACT app and we have to add or remove input fields while carefully reading the OEKG structure to make sure the Frontend and KG structure are in line to produce the correct output. This comes with a high maintenance effort if the OEKG changes and also introduces some errors in the past.

On CORDI i heard about https://github.com/ULB-Darmstadt/shacl-form which can generate a Web form from a SHACL shape. This would lift of a lot of maintenance efforts. We would first have to test out and make sure this can be integrated and produce a user-friendly frontend and can be integrated with our autocomplete options and more ...

Ideas of solution

We can use the SHACL shape we have here to generate a Web form as Frontend of the OEKG fully automated.

https://github.com/OpenEnergyPlatform/oekg/blob/feature-48-add-oekg-rework-files/oekg/oekg_rework/shacl/oekg_shacl_new_graph.txt

Workflow checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.