diff --git a/README.md b/README.md index 44e8b99..a7e1eb1 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ data-shapes-url | When `data-shapes` is not set, the SHACL shapes are loaded fro data-shape-subject | Optional subject (id) of the SHACL node shape to use as root for the form. If not set, the first found node shape will be used data-values | RDF triples (e.g. a turtle string) to use as existing data graph to fill the form data-values-url | When `data-values` is not set, the data graph triples are loaded from this URL -data-value-subject | The subject (id) of the generated data. If this is not set, a blank node with a new UUID is created. If `data-values` or `data-values-url` is set, this id is also used to find the root node in the data graph to fill the form +data-values-subject | The subject (id) of the generated data. If this is not set, a blank node with a new UUID is created. If `data-values` or `data-values-url` is set, this id is also used to find the root node in the data graph to fill the form data-values-namespace | RDF namespace to use when generating new RDF subjects. Default is empty, so that subjects will be blank nodes. data-language | Language to use if shapes contain langStrings, e.g. in `sh:name` or `rdfs:label`. Default is [`navigator.language`](https://www.w3schools.com/jsref/prop_nav_language.asp) data-loading | Text to display while the web component is initializing. Default: `"Loading..."` @@ -115,7 +115,7 @@ In edit mode, `` validates the constructed data graph using the libr ### Data graph binding -`` requires only a shapes graph as input via the attribute `data-shapes` (or `data-shapes-url`) to generate an empty form and create new RDF data from the form input fields. Using the attributes `data-values` (or `data-values-url`) and `data-value-subject`, you can also bind an existing data graph to the form. The given data graph is then used to fill the form input fields. +`` requires only a shapes graph as input via the attribute `data-shapes` (or `data-shapes-url`) to generate an empty form and create new RDF data from the form input fields. Using the attributes `data-values` (or `data-values-url`) and `data-values-subject`, you can also bind an existing data graph to the form. The given data graph is then used to fill the form input fields. ### Viewer mode diff --git a/demo/index.html b/demo/index.html index cf7e23e..ff097c3 100644 --- a/demo/index.html +++ b/demo/index.html @@ -11,7 +11,7 @@ @@ -185,7 +185,7 @@

<shacl-form> demo

SHACL shapes input to the form
Data graph input to the form
-
Generated form
+
Generated form
Output generated by the form