--
The topics of this mailing list include TopBraid EDG and related technologies such as SHACL.
To post to this group, send email to topbrai...@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-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/b388bfe2-422f-42a6-9a41-11ddf6e5744an%40googlegroups.com.
On 19 Jul 2023, at 1:06 pm, Kasia Kryczka <sparql...@gmail.com> wrote:
Hi,
When I added this comment (with the script above )and deleted it later (in Script editor) it seems that this change is not saved in the change history.Where can I find that this change happened?
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/a112e88e-4e62-41dd-af29-1762c51f98c1n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/db1b8b97-4332-46f1-8950-4f2d4a9f78fen%40googlegroups.com.
dataset.masterGraphs().forEach(masterGraph=> {
console.log('Adding to ' + masterGraph);
graph.transaction(masterGraph + ':' +tbs.currentUserId(), 'Adding something', () => {
let subject =graph.namedNode(masterGraph); subject.add(rdfs.comment,"Added");
});
});
On 24 Aug 2023, at 9:43 am, Kasia Kryczka <sparql...@gmail.com> wrote:Hi Holger,we have this script :dataset.masterGraphs().forEach(masterGraph=> {console.log('Adding to ' + masterGraph);graph.transaction(masterGraph + ':' +tbs.currentUserId(), 'Adding something', () => {let subject =graph.namedNode(masterGraph); subject.add(rdfs.comment,"Added");});});just add something to the history. This adds the change only to the ontology level, is it possible to add the change to their classes as well ( to all lower levels) ?
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/5a10034c-3eb0-4ed4-a062-2277654b59ccn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/5f6e330a-fd1c-4c21-86cd-0733656faf5an%40googlegroups.com.
On 21 Sep 2023, at 1:42 pm, Kasia Kryczka <sparql...@gmail.com> wrote:
Hi again,I tried to use the above example with my query:
graph.select(`SELECT ?masterGraphWHERE {GRAPH ?masterGraph {?masterGraph rdf:type teamwork:Vocabulary .}FILTER NOT EXISTS {GRAPH ?masterGraph {?s edg:subjectArea ?o .}}FILTER (STRSTARTS(STR(?masterGraph),"urn:x-evn-master:") &&(!STRENDS(STR(?masterGraph),"singleton")) )}`).bindings.forEach(b => {let masterGraph = b.masterGraph;
graph.transaction(b.masterGraph, 'Adding comment', () => {console.log (b.masterGraph);
});masterGraph.add(rdfs.comment, 'hello hello')
})
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/812a4171-ebc7-4874-9fc6-90e74c46cae4n%40googlegroups.com.