-
Notifications
You must be signed in to change notification settings - Fork 5
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
SHACL shape templates #18
Comments
…ons, see #18 Introduce arguments for subforms, textareas, selects etc. ..
I suggest to also take the property Regarding TODO multiple rootShapes. I think a drop down would be good or just support a singe rootshape and the including application has to care about making a selection. Regarding the Regardging iri generation: Keep the string pattern, which is similar to the way how RML is doing it or adapt the way how SHACL expressed property paths. Or a combination of both: @prefix ex: <http://example.org/> .
# the following prefixes are fake
@prefix rdform: <http://rdform.org/> .
@prefix foaf: <http://foaf.org/> .
@prefix sh: <http://shacl.org/> .
ex:shape rdform:iripattern ( [rdform:iri ex:] "person-" foaf:name )
ex:shape rdform:iripattern "http://example.org/person-{<http://foaf.org/name>}"
ex:kind rdform:iripattern ( [rdform:iri ex:] "kind-von-" ([ sh:inversePath ex:parent ] foaf:name) )
|
Hm, the class type |
Implement SHACL as template language
Branch: https://github.com/simeonackermann/RDForm/tree/feature-shacl
Usage
Attributes
template
(Object) required, JSON-LD SHACL shaperootShape
(string), required if multiple shapes of type sh:NodeShape given, defines the root shapehooks
,prefixes
,base
,debug
,verbose
etc. those are also with SHACL shapes supported supportedCurrent supported SHACL properties
Class (
sh:NodeShape
)Property (
sh:property
)PropertyShape
else TODO
The text was updated successfully, but these errors were encountered: