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 <jorr...@gmail.com> wrote: > > 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 as intended. The target Graph is updated with the resultSet. > However I do not see this in the change history of the target Graph. > > If I reverse it, and from the targetGraph start a script like this: > const resultSet = graph.withDataGraph( > sourceGraph, > function getTriples() { > return graph.construct(sparqlQuery); > } > ); > graph.transaction( > null, > "Changes history message", > function addTriples() { > graph.addTriples(resultSet); > } > ); > > then I do get the change history. Is it as inteded that I do not get an entry > in the change history when writing from another graph? Is there something to > I can do to get the changes? > > -- > The topics of this mailing list include TopBraid EDG and related technologies > such as SHACL. > To post to this group, send email to topbraid-users@googlegroups.com > --- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to topbraid-users+unsubscr...@googlegroups.com > <mailto:topbraid-users+unsubscr...@googlegroups.com>. > To view this discussion visit > https://groups.google.com/d/msgid/topbraid-users/360c4e85-30f3-482d-b7f7-20f5cbee5b58n%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/360c4e85-30f3-482d-b7f7-20f5cbee5b58n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- The topics of this mailing list include TopBraid EDG and related technologies such as SHACL. To post to this group, send email to topbraid-users@googlegroups.com --- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-users+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/topbraid-users/AB929F7E-E99C-43BC-AB79-D1907A564D01%40topquadrant.com.