On 17/06/15 21:24, Adrian Gschwend wrote:
Hi,
In my GTFS Fuseki endpoint I loaded the data set to the default graph
using tdbloader. Later I added two new graphs to the store with a
smaller set of data. This seems to work fine, I can address the triples
in each graph.
Now I would like to expose everything in the default graph for easier
querying, for that I added " tdb:unionDefaultGraph true" to my
configuration.
However, this doesn't seem to change anything, I still have to address
the graph to get the triples in the other two graphs.
Is that supposed to work in this combination or is this something I
would have to enable before I load triples to the store?
regards
Adrian
Hi Adrian,
This is TDB?
If your turn unionDefaultGraph on, then the stored default graph is not
visible in a query (it can be accessed via a special graph name that is
not included in the union of named graphs) so I'd expect it to be
inaccessible.
If you are not seeing the default graph as the union of the two named
graphs, then something is amiss with the setup. How are you setting
unionDefaultGraph? (and which version of code are you running?)
unionDefaultGraph works (in TDB) by using the quad indexes and ignoring
the G part; e.g. it get SPO from SPOG (and reducing any duplicates to
get set semantics).
You'll have to load a named graph with data to see it in the default
union graph.
Andy