Hi everyone,

I'm still trying to figure out how to supply parameters/options to a sparql
select

eg:   sparql select * from <http://path/csv_file.csv> where { ?s ?p ?o }

I can set options in the Sponger cartridge definition via Conductor but I
really need a way to pass parameters eg to change the column delimiter
depending on the file. (or to change key/password pairs on the fly)

As a work around it's possible to directly update the sponger table to set
the opts vector, then call the sponger via the sparql select but this is far
from ideal.

Is there any way to dynamically assign parameters to a sponger cartridge
through a sparql select call?

Cheers,
Peter Secomb
clearbluewater.com.au

On 22 September 2011 16:41, Peter Secomb <[email protected]>wrote:

> Hi everyone,
>
> I'm trying to figure out how to supply the opts value (inout opts any,
> defined in sponger hook) as part of a sparql select.
>
> Without the options a sponger call (for instance to csv cartridge) can be
> made as:
>
> sparql select * from <https://some_location/some_file.csv>  where {?o ?p
> ?s}
>
> The above works as expected and returns the triples.  I've modified the csv
> sponger cartridge to allow non-standard delimiters to be specified from the
> Sponger Cartridge Options in the Virtuoso Conductor interface.
>
> How can I specify those options via the above sparl select query?
>
> Many thanks,
> Peter
>

Reply via email to