On 11/02/13 00:40, David Jordan wrote:

It works when I specify the UnionGraph in the query, but when using sdbquery it 
is not clear how to set SDB.unionDefaultGraph to true.

I tried the following approaches, but they did not work:
sdbquery --query=query1.rq --set SDB.unionDefaultGraph=true
(got no result)

SDB.unionDefaultGraph is the Java constant which is

http://jena.hpl.hp.com/SDB/symbol#unionDefaultGraph

I think using sdb: should work:

sdbquery --query=query1.rq --set sdb:unionDefaultGraph=true

        Andy
        (SDB is not set up on this machine to test that)


sdbquery --query=query1.rq --set unionDefaultGraph=true
(got no result)

sdbquery --query=query1.rq --base=<urn:x-arq:UnionGraph>
(got syntax error)

WHERE { GRAPH <urn:x-arq:UnionGraph> { .... } }




On Feb 10, 2013, at 5:11 PM, Andy Seaborne wrote:

or set the context symbol to enable the query patterns on the default
graph match against the union of the named graphs.

http://jena.apache.org/documentation/sdb/configuration.html#current-options

        Andy


Reply via email to