-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drag & drop form builder app to build a basic RDF form definition #64
Comments
Not for myself: add an example of a |
@RubenVerborgh yes, #19 , #64 and #65 are all related, but can (and probably should be) implemented independently just to prove the point. |
See https://github.com/smessie/FormGenerator for first implementation |
Sample book review forms in three different ways: RDF FormSolid-UISHACL |
@phochste Are all the changes done? Can Ruben review it again? |
@pheyvaer Yes. I can always add more, but that are specific features requests for one solution. |
Sure you can add more, but Ruben requested changes. So my question is: are these changes done, so Ruben can review it again? |
@pheyvaer yes |
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. |
@RubenVerborgh ok added a use-case |
You find the report for this challenge here. |
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: #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:
Title
a text field which binds todc:title
Author
a text field which binds todc:author
Rating
a dropbox field for which she doesn't find a binding but choosesex:rating
as temporary solution. The drop down should contains these options:ex:NotLikeIt
ex:ItWasOk
ex:LikedIt
ex:ReallyLikedIt
Review
a textarea which binds todc:description
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:
ex:Amazing
The enduser can use an Form renderer application to view and fill-out the generated RDF Form (not part of this challenge, see: #65).
Desired solution
- Checkbox field : a checkbox on the form
- Text field : a text input field in the form
- Textarea field : a textarea field in the form
- Date field : a date picker in the form
- Choice field : a field with a selection of one or more items
- A field title
- A field type (eg. something that maps to checkbox, text, area, date, choice,...)
- A field default value
- A binding (e.g.
http://xmlns.com/foaf/0.1/name
)- Indication if the field is required or not (e.g. this can be implemented as a yes/no button in the app)
- Indication if the field can be used repeated or not (idem)
- (internally) the order of the field in the list
Acceptance criteria
book review
example that will be given belowrdf-form
book review
RDF form definition and add/delete fieldsPointers
See: https://docs.google.com/document/d/11uj4kjh96gBXQgU3b3asRZZiHjQC2HXL0Xy-I_gtB6k/edit# for overview of existing implementations that tried this
Scenarios
The text was updated successfully, but these errors were encountered: