On 26/09/17 19:59, Dimov, Stefan wrote:
It’s one machine, one Fuseki and one TDB. Nothing shared, no separate processes
…
Then I don't understand the description. I underatdn it to mean there is
a Fuseki server running and also some java code doing direct update to a
dataset "while it’s running".
What are the two graphs? Do they have the same URI name?
Where does "ds" come from?
Andy
S.
On 9/26/17, 1:50 AM, "Andy Seaborne" <[email protected]> wrote:
On 26/09/17 02:04, Dimov, Stefan wrote:
> Hello,
>
> I have a Fuseki/Jena setup and while it’s running, I’m trying to update
one of the existing graph with more triples. I’m using the code:
>
> ds.begin(ReadWrite.WRITE);
> Model model = ds.getNamedModel(graphName);
> FileManager.get().readModel(model, sourceFileName);
> ds.commit();
> ds.end();
Is this code running inside Fuseki or in a separate process?
If in a separate process, updating the files of TDB directly is not
supported.
If you are doing that and that code executes at all, is it in a
different machine to the Fusekis server? Shared files in someway?
(see email 22/Sept)
>
> The operation finishes without error, but as a result in TDB I have two
graphs with the name graphName, instead of having the initially existing graph
appended?
RDFConnection.put(filename);
>
> Seems like a bug in Jena. How can workaround it? Or am I doing something
wrong?
>
> Regards,
> Stefan
>