On 05/05/16 19:32, Abduladem Eljamel wrote:
Hi,,I am justwondering if this scenario is correct or not. I have a TDB dataset
containsseveral named graphs and I would like to apply reasoning on all these
namedgraphs. I will apply the following steps:1- Loading the named graphs
into models one by one. 2- Applying reasoning on every model that contains
one named graph.3- Replacing every named graphin the TDB by its inferred
model.Does that make any sense?Thanks in advanceabdul
Yes, it makes sense.
As an alternative to consider:
The jena inference operates in-memory, so if the graphs originally
loaded form file so you could proceed as:
1/ read graph to memory
2/ apply reasoning
3/ write graph to named graph in TDB.
Andy