Skip to content

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

@jh-RLI

Description

@jh-RLI

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

Metadata

Metadata

Assignees

Labels

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions