You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Brian McBride <br...@epimorphics.com> on 2013/09/26 09:11:17 UTC
fuseki+tdb: create in memory dataset with union default graph
For testing, I would like to fire up a fuseki server with an in memory
dataset and a union default graph.
Is this possible?
I can configure a fuseki server with an in memory dataset using --mem
but I see no way to tell it to set a union default graph.
I can configure a fuseki server with an assembler that says use a TDB
dataset with a union default graph, but it insists on the dataset having
a location property and I see no way to tell it to use an in memory
dataset from an assembler. There is code to allow creating tdb in
memory datasets.
Brian
--
Epimorphics Ltd (http://www.epimorphics.com) Epimorphics Ltd. is a
limited company registered in England (number 7016688) Registered
address: Court Lodge, 105 High Street, Portishead, Bristol BS20 6PT, UK
Re: fuseki+tdb: create in memory dataset with union default graph
Posted by Brian McBride <br...@epimorphics.com>.
Thanks Andy - just what I needed.
Brian
On 26/09/2013 14:22, Andy Seaborne wrote:
> On 26/09/13 08:11, Brian McBride wrote:
>> For testing, I would like to fire up a fuseki server with an in memory
>> dataset and a union default graph.
>>
>> Is this possible?
>>
>> I can configure a fuseki server with an in memory dataset using --mem
>> but I see no way to tell it to set a union default graph.
>>
>> I can configure a fuseki server with an assembler that says use a TDB
>> dataset with a union default graph, but it insists on the dataset having
>> a location property and I see no way to tell it to use an in memory
>> dataset from an assembler. There is code to allow creating tdb in
>> memory datasets.
>>
>> Brian
>
> On the command line, you can use:
>
> --memTDB --set tdb:unionDefaultGraph=true
>
> e.g.
> fuseki-server --memTDB --set tdb:unionDefaultGraph=true /ds
>
> or if the assmbler configuration has a location of "--mem--" (the
> internal name of anon in-memory locations) then you'll get a TDB,
> in-memory dataset.
>
> Andy
>
--
Epimorphics Ltd (http://www.epimorphics.com) Epimorphics Ltd. is a
limited company registered in England (number 7016688) Registered
address: Court Lodge, 105 High Street, Portishead, Bristol BS20 6PT, UK
Re: fuseki+tdb: create in memory dataset with union default graph
Posted by Andy Seaborne <an...@apache.org>.
On 26/09/13 08:11, Brian McBride wrote:
> For testing, I would like to fire up a fuseki server with an in memory
> dataset and a union default graph.
>
> Is this possible?
>
> I can configure a fuseki server with an in memory dataset using --mem
> but I see no way to tell it to set a union default graph.
>
> I can configure a fuseki server with an assembler that says use a TDB
> dataset with a union default graph, but it insists on the dataset having
> a location property and I see no way to tell it to use an in memory
> dataset from an assembler. There is code to allow creating tdb in
> memory datasets.
>
> Brian
On the command line, you can use:
--memTDB --set tdb:unionDefaultGraph=true
e.g.
fuseki-server --memTDB --set tdb:unionDefaultGraph=true /ds
or if the assmbler configuration has a location of "--mem--" (the
internal name of anon in-memory locations) then you'll get a TDB,
in-memory dataset.
Andy