Hi William,

it is (theoretically) possible to execute a SPARQLMotion script after each edit to an EDG model. The starting point is to create a teamwork:EditRule, which triggers an SWP script (which can invoke SPARQLMotion). To see an example, open teamwork.ui.ttlx and look at subclasses of teamwork:EditRules. These fire after each change and provide access to the triples that have changed. Maybe you can express the whole logic to update the RDF file as a pure SWP script? (You can embed most SPARQLMotion modules into SWP syntax as XML-like elements).

Having said this, I am not sure if this is the right solution. You state you want to have an RDF output file always up to date. But this is potentially brittle. Wouldn't it work to compute this RDF file whenever the request (to fetch it) comes in so that it's always fresh, or what is the surrounding workflow? And where is the RDF output "file" written to - can it also just be another RDF database that is updated?

Holger


On 23/01/2019 7:09 am, William Ramos wrote:
Hi, there;

I have a SPARQLMotion script that, when executed it will export a taxonomy to an RDF output file.

I would like to invoke this script every time such taxonomy is edited/updated in order to have the RDF output file always up to date.

Is it possible to achieve this with TBC or EDG?
... if so, could you please tell me the steps?

Thanks in advance.
--
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 topbraid-users+unsubscr...@googlegroups.com <mailto:topbraid-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to