Skip to content
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

Add support for adding an rdf-type to data that is submitted in an ui:form #509

Open
phochste opened this issue Jul 22, 2022 · 0 comments
Open

Comments

@phochste
Copy link

Use case

I would like to present my users a "review" form to produce data like:

<#Example1> a <https://schema.org/Review>;
       <https://schema.org/abstract> "The service was fantastic".

In the form they just should be able to fill in the abstract and not be asked to select from a Choice of rdf-types they want to create.

Missing

In the current UI forms I only am permitted to set ui:property-s , which can't be used to set an rdf-type.

@timea-solid suggested to use a ui:Choice, but that adds an extra menu item in the display which the user is forced to set to a particular value, and creates the possibility to add many resources of that type.

Suggestion

A suggestion by @timbl : "add a new type of field which is a constant field, along with the name field say “also add ?x a ExampleObject whenever you set this name”.. have to make sure it gets removed if the name goes too"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants