...moreover I find useful to adopt the encoded version, more or less this
way:
$ curl -X POST \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept:text/csv" \
--data-urlencode "SELECT DISTINCT ?Concept WHERE { [] a ?Concept } LIMIT
100" \
--data-urlencode
Hi Luis, Roel,
The --data section should start with query=
curl -X POST -vH "Accept:application/sparql-results+xml" --data
"query=select distinct ?Concept where {[] a ?Concept} LIMIT 100"
http://localhost:8890/sparql
For the rest using a response type other than HTML is recommended
e.g.
Hi,
On Fri, 2021-04-30 at 13:24 +, Luís Moreira de Sousa via Virtuoso-
users wrote:
> Hi all,
>
> I would like to submit queries to the SPARQL endpoint using the POST
> method to avoid payload limits with GET. For some reason, Virtuoso is
> not able to identify the query in the message