Form renderer that to view RDF form and store filled-in data in pod (permalink)
The corresponding challenge is #65.
Problem
Create a form renderer that can render an RDF form definition. In this application users can in a declarative way point to
- the RDF form definition,
- the RDF data, and
- the resource on a Solid pod where the data should be stored.
This application is one application that can be used in an environment in which:
- Form builders can generate an RDF form definition.
- Form renders that can render an RDF form for end users (e.g. as HTML or as a text menu).
- Form viewers that can view the generated RDF in a human friendly way.
These three components can work together, for example, so that
- a form builder creates a Doodle form,
- a form renderer makes a HTML version to input the data, and
- a form viewer generates a nice read-only view.
See also the report "Drag & drop form builder to build basic RDF form definition".
Approved solution
We developed a Web app that allows users to
- view an RDF form, and
- fill in the data.
You find a screenshot below for a book review form:
In the screenshot, you see the following components:
- "Login" button: log in with your Solid pod.
- "Show details" button: show details about the form and where the filled-in data is stored.
- "New form" button: load a new form.
- "Instructions" text field: nstructions related to the form.
- "Title" text field: title of the book review.
- "Author" text field: author of the book.
- "Rate this book" dropdown field: rating you give the book.
- "Review" text field: review of the book.
- "Save" button: save the form.
User flow
Actors/actresses
- Form viewer Web app
- User of the Web app
Preconditions
None.
Steps
- The user opens the Web app at https://formviewer.patrickhochstenbach.net/?rft.form=https%3A%2F%2Fformviewer.patrickhochstenbach.net%2Fbook-review.form.ttl
- The user fills in the details of the fields. See the example form in the "Approved solution" section.
- The user click on the button "Save".
- The app shows a notification confirming that the data is saved at the resource mentioned in the details. You see the details by clicking on the button "Show details".
Postconditions
- The filled-in data is stored at the resource mentioned in the details.
Follow-up actions
None.
Future work
None.
Contributors
- Challenge: Patrick Hochstenbach
- Solution: Patrick Hochstenbach
- Report: Pieter Heyvaert