W3C home > Mailing lists > Public > semantic-web@w3.org > March 2018

Re: System for generating schema based web forms?

From: Eric Prud'hommeaux <eric@w3.org>
Date: Thu, 8 Mar 2018 09:33:54 -0500
To: Patrick Golden <ptgolden@email.unc.edu>, Andra Waagmeester <andra@micelio.be>
Cc: semantic-web@w3.org
Message-ID: <20180308143353.GE2292@w3.org>
* Patrick Golden <ptgolden@email.unc.edu> [2018-03-07 14:07-0500]
> Hi Mikael,
> 
> My colleague, Ryan Shaw, has started to put together an editor [1] that
> generates a form whose inputs are populated by the terms of RDF vocabularies
> loaded into it. Currently, it reads and generates JSON-LD. We have discussed
> augmenting it to use ShEx or SHACL shapes to generate more structured forms
> ahead of time.

Andra, could such a tool be useful in the genewiki or wikidata pipelines?

Patrick, could you drive it from schemas at
https://github.com/SuLab/Genewiki-ShEx ? You JSON-LD-ify them like
this:
  https://rawgit.com/shexSpec/shex.js/master/doc/shex-simple.html?schemaURL=
  + the schema URL
e.g.
  https://rawgit.com/shexSpec/shex.js/master/doc/shex-simple.html?schemaURL=https%3A%2F%2Fraw.githubusercontent.com%2FSuLab%2FGenewiki-ShEx%2Fmaster%2Fgenes%2Fwikidata-human-genes.shex


> This demo [2] dynamically loads vocabularies from https://lov.okfn.org/
> 
> [1] https://github.com/editorsnotes/react-jsonld-editor
> [2] https://editorsnotes.github.io/edit-with-lov/
> 
> Best,
> Patrick
> 
> On 03/07/2018 10:04 AM, Mikael Pesonen wrote:
> >
> >Hi,
> >
> >is there a system that can read schema definition RDF/XML and render
> >dynamic web form for inputting and editing properties? Data input and
> >output could be JSON or
> >directly on triple store such as Apache Jena.
> >
> >For example using schema.org RDF/XML you could create new item Creative
> >Work/Book and insert the properties you are interested of, such as name
> >and isbn.
> >
> >Thanks!
> >
> 
> 

-- 
-ericP

office: +1.617.599.3509
mobile: +33.6.80.80.35.59

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

There are subtle nuances encoded in font variation and clever layout
which can only be seen by printing this message on high-clay paper.
Received on Thursday, 8 March 2018 14:34:05 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 8 March 2018 14:34:13 UTC