Hi Minto, The defaultGraph passed as second argument is ignered if a FROM clause is present in your query, otherwise this is used as default Graph and other graphs can be access using "FROM NAMED".
If you want to rund your query about afainst the union of several graphs you should use UnionMGraph as Tommaso pointed out. If this is your usecase we should keep this in mind for the fast-lane to be implemented. Cheers, Reto On Tue, Jan 8, 2013 at 8:53 AM, Tommaso Teofili <tommaso.teof...@gmail.com>wrote: > Hi Minto, > > I think that you should use a union graph (UnionMGraph) over your > underlying named graphs and that should work as expected. > > I hope this helps, > Tommaso > > > 2013/1/6 Minto van der Sluis <mi...@xup.nl> > > > Hi folks, > > > > Currently I am using clerezza with a Jena TDB storage backend to store > > multiple named graphs. > > > > Now I wonder how to perform a query over these named graphs. I can use > > the following command: > > > > TcManager.executeSparqlQuery( query, ? ) > > > > But what should be used as the triple collection? If the default graph, > > how do I specify that? > > > > Regards, > > > > Minto van der Sluis > > Software innovator / renovator > > Xup BV > > >