Hi, I'm new and I have an idea for SHACL that might go beyond its intended 
purpose but could potentially be very powerful.

I am interested in the fact that SHACL Rules can modify the data graph.

It might be possible to use Rules as an XSLT-like transformation engine for 
RDF/JSON-LD.

I would like to take data from one graph and process it with SHACL Rules 
and retrieve the transformed graph.

I have an example gist here:

https://gist.github.com/michaelcpuckett/35bf9773df25e3639e55ae15299ae63e

The JS Playground doesn't look like it supports Rules, because the above 
fails validation. (I haven't tried the Java implementation yet, I'm 
interested to see if it would validate there. I might have a syntax error.)

Of course, as I understand it, if it did validate, there would be no 
Validation Report.

I would like to suggest that in a future version of SHACL, a Validation 
Report, including the inferred data graph, could be provided with an 
explicit flag. The inferred data graph would be the result of 
transformation.

Perhaps this been considered already, or this is already possible? I would 
appreciate any feedback (or ideas for extension mechanisms if this goes 
beyond core).

Thanks!
Michael

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/35675d95-f3d2-452c-ada2-093bdf3752bf%40googlegroups.com.

Reply via email to