Re: [topbraid-users] Fail to write change history when using ADS transaction.

2025-02-28 Thread Jorrit Dorman
Thanks! I'll check it out On Thursday, 27 February 2025 at 11:53:44 UTC+1 Holger Knublauch wrote: > > On Feb 27, 2025, at 11:45, Jorrit Dorman wrote: > > Thanks Holger, that seems to work. > > I've made it like this, but I was wondering if there is a more streamlined > way to do this? Also, is

Re: [topbraid-users] Fail to write change history when using ADS transaction.

2025-02-27 Thread Jorrit Dorman
Thanks Holger, that seems to work. I've made it like this, but I was wondering if there is a more streamlined way to do this? Also, is there documentation available about the tbs functions? const targetGraph ; const targetUserGraph = graph.withDataGraph( targetGraph, function getUserGrap

Re: [topbraid-users] Fail to write change history when using ADS transaction.

2025-02-26 Thread Holger Knublauch
The change history is only activated when the URI of the graph includes the user name. In your case, does it, or is just something like urn:x-evn-master:geo ? One way of getting such graphs is to call tbs.queryGraph() Holger > On Feb 26, 2025, at 15:33, Jorrit Dorman wrote: > > Hi, > > I h

[topbraid-users] Fail to write change history when using ADS transaction.

2025-02-26 Thread Jorrit Dorman
Hi, I have an ADS script in which I get an array of triples from the current graph, and I want to insert them in another graph. I use the following: graph.transaction( targetGraph, "Changes history message", function addTriples() { graph.addTriples(resultSet); } ); This works a