Re: [Virtuoso-users] cURL and .rq files

2017-10-14 Thread Hugh Williams
Hi You should be able to do something like: $ cat query.rq select * where {?s ?p ?o} limit 5 $ curl --request POST http://localhost:8890/sparql --data-urlencode "format=csv" --data-urlencode qu...@query.rq "s","p","o" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type","http://www.w3.org/1999/02

[Virtuoso-users] cURL and .rq files

2017-10-09 Thread Pasquale Di Donato
Hi List, is there a way to execute a query defined in a .rq file via cURL? Wold appreciate any hint Thanks Pasquale -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! htt