On 30/06/14 11:04, Claude Warren wrote:
I would like to see a method added to dataset as follows:
/**
Returns the union of the dataset.
Returns the union of all named models in the dataset as a single model.
If the default model is not one of the named models it is also included and
is not
the union model, it must also be included.
That contract is not the one that TDB offers. The union default graph
is just the named graphs. If there is a non-empty concrete default
graph, it disappears as far as query is concerned.
TDB supports getGraph("urn:x-arq.urn:x-arq:UnionGraph)
*/
Model getUnionModel();
I am hoping we can add this in 2.12.1 as there are other changes in the
interfaces as well.
Thoughts?
Claude,
Did GraphUnionRead work for you? DatasetGraphViewGraphs?
Would you like to prototype that? The DatasetGraph hierarchy is a bit
more complicated and we also need to get consistent, expected behaviour
across API and SPARQL use.
Andy