[topbraid-users] Example of spit:replaceAll?

2015-01-25 Thread Jack Hodges
As you know, SPARQL doesn't care for backslashes (\) and SWP doesn't care for underscore (_) characters. I have some labels with underscores in them that need to be maintained and rendered after passing through SWP. I would like to replace underscore characters with their escaped versions, and

Re: [topbraid-users] Example of spit:replaceAll?

2015-01-25 Thread Holger Knublauch
Hi Jack, on the syntactic issue of escaping characters in SWP, you could wrap this piece of logic into a SPIN function where you can edit the spin:body in normal SPARQL syntax. Then just call the function in SWP, and this will also resolve the need to repeatedly write the same stuff. Your