@Smag0 wrote:
I want to start a new post for those interested in developping tools for creating Gui from RDF Shapes.
So lets discuss about
What is your favorite ?
- shex http://shex.io/shex-semantics/
- or SHACL https://www.w3.org/TR/shacl/?
Why ?
What issue do you face ?
How can we use ui-ontology ?what must the tools build ? ( ui-format )
Is it possible to automaticaly build :
- pure html/js
- web-components https://developer.mozilla.org/en-US/docs/Web/Web_Components
- polymer-components (lit-element), react-components, angular-components, vue-components, hyperhtml-components???
- jqueru-ui ?
Could it be possible to build micro-services ???Does someone have an idea how to deal with footprints
footprints : https://www.w3.org/ns/footprints
Schema can be easily loaded with
shex js lib https://github.com/shexSpec/shex.js
using the loader as shown here https://github.com/scenaristeur/spoggy-simple/blob/553e7e49c344215875e9f38cc47cc9928533af46/testform.html#L82Here are my first test
Some other related posts :
- What is the difference between a footprint and a shape?
- On datashapes as a complement to vocab
- Solid React SDK by inrupt
- Selecting items - but from where?
- Can a resource be predicated by more than one basic container?
ShEx V1 ? Obsolète ?
- https://shex.io/
- http://shexspec.github.io/primer/#choices
- http://www.validatingrdf.com/tutorial/iswc2018/
- https://book.validatingrdf.com/bookHtml010.html#ch040%3AShExSimpleExample
- http://shex.io/shex-semantics/
PREFIX : <http://example.org/> PREFIX schema: <http://schema.org/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> :User { schema:name xsd:string ; schema:birthDate xsd:date? ; schema:gender [ schema:Male schema:Female ] OR xsd:string ; schema:knows IRI @:User* }
shEx2
https://rawgit.com/shexSpec/shex.js/master/packages/shex-webapp/doc/shex-simple.html
- tension.shex
PREFIX : <http://hl7.org/fhir/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> start = @<TensionShape> <TensionShape> { # An Observation has: :status ["preliminary" "final"]; # status in this value set :subject @<UserShape> # a subject matching <UserShape>. } <UserShape> { # A Patient has: :name xsd:string*; # one or more names :birthdate xsd:date? # and an optional birthdate. }
- with data
PREFIX : <http://hl7.org/fhir/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> <Tension1> :status "final" ; :subject <User2> . <User2> :name "Bob" ; :birthdate "1999-12-31"^^xsd:date .
- query map (What is a query map ??)
{FOCUS :status _}@START, <User2>@!<TensionShape>
some shapes to test :
Posts: 15
Participants: 5