Re: Fuseki union of two TDB(2) datasets

2019-06-13 Thread Andy Seaborne
On 13/06/2019 12:14, Laura Morales wrote: JENA-1667 I think my problem is exactly the same one described by Ashley Sommer in JENA-1663. See the comment https://issues.apache.org/jira/browse/JENA-1663#comment-16764175

Re: Fuseki union of two TDB(2) datasets

2019-06-13 Thread Laura Morales
> JENA-1667 I think my problem is exactly the same one described by Ashley Sommer in JENA-1663.

Re: Fuseki union of two TDB(2) datasets

2019-06-13 Thread Andy Seaborne
JENA-1667 On 13/06/2019 04:42, Laura Morales wrote: PS: this only works with TDB1 right? Any way to make it work with TDB2? No. Works for anything and mixtures: Change the tdb:GraphTDB and tdb:DatasetTDB to tdb2:GraphTDB2 and tdb2:DatasetTDB2 TDB1 works, but with TDB2 all I get is a waning:

Re: Fuseki union of two TDB(2) datasets

2019-06-12 Thread Laura Morales
Thank you! > Sent: Thursday, June 13, 2019 at 1:05 AM > From: "ajs6f" > To: users@jena.apache.org > Subject: Re: Fuseki union of two TDB(2) datasets > > Filed as https://issues.apache.org/jira/browse/JENA-1721. > > ajs6f

Re: Fuseki union of two TDB(2) datasets

2019-06-12 Thread Laura Morales
> > PS: this only works with TDB1 right? Any way to make it work with TDB2? > > No. Works for anything and mixtures: > > Change the tdb:GraphTDB and tdb:DatasetTDB > to tdb2:GraphTDB2 and tdb2:DatasetTDB2 TDB1 works, but with TDB2 all I get is a waning: "500 : Not in a transaction". This is the as

Re: Fuseki union of two TDB(2) datasets

2019-06-12 Thread ajs6f
Filed as https://issues.apache.org/jira/browse/JENA-1721. ajs6f > On Jun 12, 2019, at 6:49 PM, Andy Seaborne wrote: > > > > On 12/06/2019 20:07, Laura Morales wrote: The reason why I would like to be able to do this, instead of merging one dataset into another, is simply because th

Re: Fuseki union of two TDB(2) datasets

2019-06-12 Thread Andy Seaborne
On 12/06/2019 20:07, Laura Morales wrote: The reason why I would like to be able to do this, instead of merging one dataset into another, is simply because the two datasets come from different origins. With an overlap of named graphs? Potentially yes, but for my particular case I can wor

Re: Fuseki union of two TDB(2) datasets

2019-06-12 Thread Laura Morales
> > The reason why I would like to be able to do this, instead of merging one > > dataset into another, is simply because the two datasets come from > > different origins. > > With an overlap of named graphs? Potentially yes, but for my particular case I can work around it by renaming my graphs

Re: Fuseki union of two TDB(2) datasets

2019-06-12 Thread Andy Seaborne
The reason why I would like to be able to do this, instead of merging one dataset into another, is simply because the two datasets come from different origins. With an overlap of named graphs? On 12/06/2019 15:31, Laura Morales wrote: From the Java side, there is UnionDatasetGraph, which

Re: Fuseki union of two TDB(2) datasets

2019-06-12 Thread Laura Morales
> From the Java side, there is UnionDatasetGraph, which would be able to give > you a view over two datasets, but I'm not sure we ever wrote an assembler for > that. I don't see one in the codebase, although it shouldn't be too hard. > There are DatasetDescriptionAssembler and UnionModelAssemble

Re: Fuseki union of two TDB(2) datasets

2019-06-12 Thread ajs6f
onfigure Fuseki to automatically > use two distinct datasets as a union default graph. > Is this possible with either TDB or TDB2? I hope my question is clear and > makes sense. Thank you. > > > > >> Sent: Wednesday, June 12, 2019 at 1:08 PM >> From: "And

Re: Fuseki union of two TDB(2) datasets

2019-06-12 Thread Laura Morales
ically use two distinct datasets as a union default graph. Is this possible with either TDB or TDB2? I hope my question is clear and makes sense. Thank you. > Sent: Wednesday, June 12, 2019 at 1:08 PM > From: "Andy Seaborne" > To: users@jena.apache.org > Subject: Re: Fuse

Re: Fuseki union of two TDB(2) datasets

2019-06-12 Thread Andy Seaborne
What's the use case here? You can have a general dataset which has a default graph being the union of two graphs, each from a TDB1/TSDB2 dataset. But maybe there is a better way for the use case. Andy On 12/06/2019 07:25, Laura Morales wrote: Can I configure Fuseki to use the union of t

Fuseki union of two TDB(2) datasets

2019-06-11 Thread Laura Morales
Can I configure Fuseki to use the union of two TDB or TDB2 datasets as the default union graph?