Re: [Virtuoso-users] Calling Sponger cartridge with options from sparql select

2011-10-27 Thread Peter Secomb
Hi Ivan, I've played around a bit with function calls within a SPARQL query. I have the following format: select * from where { ?s ?p ?o filter(sql:myfunc(arg1, arg2, arg3)) } myfunc() does some processing on the arguments, calls another function and ultimately returns 1. I'l

Re: [Virtuoso-users] Calling Sponger cartridge with options from sparql select

2011-10-27 Thread Ivan Mikhailov
Hello Peter, Unfortunately there's no good way to pass the parameters you need. You may cheat and make your version of cartridge that will use connection_get() [1] to obtain connection variable assigned before by connection_set() [2], but that's not universal and looks bad. You may also write you