lindas-uc / lindas-issues

Share our issues and questions about http://lindas-data.ch/
0 stars 0 forks source link

SPARQL Update queried must be sent via HTTP GET method #14

Open retog opened 8 years ago

retog commented 8 years ago

GET requests are supposed to be idempotent so using GET for insert/delete queries is wrong.

Especially in combination with the agressive cacing ths can make it impossible to add a triple, I encountered the problem by:

The graph remains empty as the queries are never forwarded to virtuoso by the proxy, to run the queries again I need to make some meaningless changes such as adding a whitespace.

martin-voigt commented 8 years ago

Hi Reto, I'm not sure if I get your request report since it contains multiple issues.

  1. How do you query? From a browser in the WebUI of Virtuoso of via curl, ...
  2. "GET for insert/delete queries is wrong." you could use POST as well, not? As GET is also supported it was a design decision by OpenLink. The standard says "When using the SPARQL 1.1 Protocol for RDF a request will be one HTTP POST."
  3. There is no caching defined in the proxy (ngnix).
  4. We could not find any configuration in Virtuoso about SPARQL caching. Do you know any? Could it be cached by the client?

Martin