Open yashkhatri opened 6 years ago
I wonder if we should explore the relationship between SHACL and Resource Shapes, given the investment OSLC has on ResourceShapes. Is it possible to transform existing resource shapes into SHACL? Could this be used to normalize these two constraint languages in eclipse/Lyo so that we have two syntactical representations of the same constraints?
We already support SHACL annotations. Jena-model-helper can marshal/unmarhsal with either OSLC and SHACL annotations. We can produce either shape from either annotations. The upcoming export functionality will allow user to choose whether to export OSLC or shacl Shapes.
So we already have it all in the SDK libraries. Now we want to support the graphical modeling of shacl, plus generation of shacl annotations.
But it would be good to “formalize” this transformation we have implemented. Something for the Core TC once we have something to show?
@yash! Once this is feature is in place, I think a blog to demonstrate the use of Lyo for a broader non-OSLC community could be valuable. (How to model, generate domains, marshal, etc)
@jadelkhoury Yes, writing a blog is already in my ToDo list.
Lyo Designer currently supports only OSLC Resource Shapes. The idea is to enhance it to support SHACL Shapes as well.
This will be done one step at a time.