Hi Eric,

I think the problem comes down to this part of the config:

> <#minimalDataset> rdf:type ja:RDFDataset;
>     ja:defaultGraph <#minimalGraph>.
>
> <#minimalGraph> rdf:type tdb:GraphTDB;
>     tdb:location "/home/escott/TDB/minimal/".

Can you use:

<#minimalDataset> rdf:type tdb:DatasetTDB ;
  tdb:location "/home/escott/TDB/minimal/".

instead?

The way to have it set up, the graph isn't transactional because it's in inside ja:RDFDataset.

ja:RDFDataset means an in-memory general purpose dataset that can contain any sort of graph including a mixture of graphs from different storage systems or inference engines. It does not support transactions.

tdb:DatasetTDB is a dataset directly backed by TDB and does support transactions.

I've found the cause of your specific problem aad applied a specific fix but other things will go wrong when using an in-memory dataset (e.g. if you add a new graph via SPARQL Update).

The best solution is to use a TDB dataset directly by using  tdb:DatasetTDB.

        Andy

(rebuilds may be delayed - the Apache Jenkins systems is having a bad day).

Reply via email to