Re: Model Lifecycle. 

This might help...

We have customised the QueryEngineWorker to provide what we call a journal. The 
journal intercepts all updates and makes entries into a separate dataset. This 
allows us to provide point in time reasoning across the original data. Ie what 
was the o for a given s and p over a time period. Also allows us to ship to 
another data store for load balancing and resiliency. 

Regards

Dick Murray
Technology Specialist
UNIT4 Business Software
www.unit4.com
+44 1275 377359
+44 7884 111729

On 26 Nov 2012, at 17:02, Olivier Rossel <[email protected]> wrote:

> Hi folks!
> 
> I have a Model full of triples, and I wish I could  "inject" these
> data into a remote endpoint.
> is there a helper class to create a SPARQL/Insert query from the
> content of the Model?
> Otherwise, what is the best way to create such a query? (Iterating the
> triples, removing the blank nodes,
> appending SPARQL statements to a StringBuffer. And that's all?
> 
> More advanced question: is it possible to monitor the lifecycle of a
> Model (add/remove),
> and create a SPARQL/Update that mimicks that lifecycle (to be sent on
> a remote endpoint)?
> What is the best way to do that with Jena? ModelChangedListener (and
> string appending)?
> 
> Your points of view are highly welcome.

Reply via email to