Re: [topbraid-users] does anyone have a good example of the SWP ui:functionCall for a js function that maintains a value

2015-03-15 Thread Jack Hodges
I found an example in the SWP manual that made me think about what ui:tempGraph is doing. It seemed to me that I could just create a node in the current graph and set/get values from it using ui:update and spl:object without using tempGraph (not that I had gotten it to work anyway). So I

Re: [topbraid-users] [SPIN API] Base URI of sp:text query

2015-03-15 Thread Holger Knublauch
Hi Martynas, since the base URI of an RDF document is not represented in RDF triples, the ARQ2SPIN parser cannot consistently rely on them. It would need to intercept loading, or post-process the resulting RDF triples to expand relative URIs. So, the short answer is no. To produce short

Re: [topbraid-users] does anyone have a good example of the SWP ui:functionCall for a js function that maintains a value

2015-03-15 Thread Holger Knublauch
Hi Jack, what you are looking for is some kind of global variable mechanism. The SWP variable scoping mechanism doesn't have this built-in, and I have not run into a use case for them yet, but I can see that this should be easier. So I have added a couple of helper modules in the attached