Re: [Virtuoso-users] Is there a way to send SPARQL queries via curl (over HTTP) to Openlink Virtuoso and obtain the results in JSON format.

2019-07-02 Thread Hugh Williams
Hi Allan, The are various ways to send curl commands to Virtuoso to perform SPARQL / SPARUL queries like: curl --request POST 'http://localhost:8890/sparql/?' --data-urlencode 'query=select * from where {?s ?p ?o} limit 5’ cat query.rq select *

Re: [Virtuoso-users] Is there a way to send SPARQL queries via curl (over HTTP) to Openlink Virtuoso and obtain the results in JSON format.

2019-07-02 Thread Allan Kamau
It seems there is no complete working example on how to do this on the Openlink Virtuoso documentation. Below is the solution I have composed with the help of others. I hope this helps other not to spend days coming a solution for this like I have. date;time curl -X POST