SolidLabResearch / Challenges

24 stars 0 forks source link

Drag & drop form builder app to build a basic RDF form definition #64

Closed phochste closed 1 year ago

phochste commented 2 years ago

Pitch

Create a drag & drop form builder application that combines HTML form input fields, and generates an RDF form definition of the created form. This RDF form definition should be stored in a preferred Solid location.

See: https://github.com/SolidLabResearch/Challenges/issues/19 for the use-cases that a related to this challenge.

The basic idea is to start with a Google Forms like interface but for the generation of RDF data. This application is one application that can be used in an enviroment in which:

Use case

An end-user wants to create Web Form that can be used to generate RDF data for a book review. She knows a little bit about RDF namespaces and fields and wants to drag & drop the fields:

The enduser can store the RDF form description in a Solid pod location of choice. At a later time she decides she wants to add an extra choice option and adds:

The enduser can use an Form renderer application to view and fill-out the generated RDF Form (not part of this challenge, see: https://github.com/SolidLabResearch/Challenges/issues/65).

Desired solution

Acceptance criteria

Pointers

See: https://docs.google.com/document/d/11uj4kjh96gBXQgU3b3asRZZiHjQC2HXL0Xy-I_gtB6k/edit# for overview of existing implementations that tried this

Scenarios

phochste commented 2 years ago

Not for myself: add an example of a book review form that the Form builder app should be able to support in rdf-from, solid-ui and shacl .

RubenVerborgh commented 2 years ago

@phochste Cool, and the same could perhaps be applied to https://github.com/SolidLabResearch/Challenges/issues/65?

phochste commented 2 years ago

@RubenVerborgh yes, #19 , #64 and #65 are all related, but can (and probably should be) implemented independently just to prove the point.

phochste commented 2 years ago

See https://github.com/smessie/FormGenerator for first implementation

phochste commented 2 years ago

Sample book review forms in three different ways:

RDF Form

https://github.com/phochste/solidui2rdfform/blob/main/data/rdfform/book_review.ttl

Solid-UI

https://github.com/phochste/solidui2rdfform/blob/main/data/solidui/book_review.ttl

SHACL

https://github.com/phochste/solidui2rdfform/blob/main/data/shacl/book_review.ttl

pheyvaer commented 1 year ago

@phochste Are all the changes done? Can Ruben review it again?

phochste commented 1 year ago

@pheyvaer Yes. I can always add more, but that are specific features requests for one solution.

pheyvaer commented 1 year ago

Sure you can add more, but Ruben requested changes. So my question is: are these changes done, so Ruben can review it again?

phochste commented 1 year ago

@pheyvaer yes

RubenVerborgh commented 1 year ago

@RubenVerborgh yes, #19 , #64 and #65 are all related, but can (and probably should be) implemented independently just to prove the point.

My bad for being unclear; I meant that the use case ("add an example of a book review form that the Form builder app should be able to support in rdf-from, solid-ui and shacl") could also be used in those others.

So could we have a use case? Then I can approve.

phochste commented 1 year ago

@RubenVerborgh ok added a use-case

RubenVerborgh commented 1 year ago

See https://github.com/smessie/FormGenerator and https://formgenerator.smessie.com/

pheyvaer commented 1 year ago

You find the report for this challenge here.