I’m trying to understand Mark Baker’s criticism of yesterday’s SPARQL Update proposal. To me his criticism seems to boil down to “it’s not RESTful”, which is true, but not necessarily a problem. Why insist on applying REST to everything that goes over HTTP? So here are some questions to REST proponents.
To set the tone, an SQL query:
UPDATE table.foo SET table.foo=table.foo+1 WHERE table.bar > 500
Now, how would you RESTify SQL? Big bonus points if queries like the above are possible with your approach.
If your answer is, “I wouldn’t”, then would it be acceptable, under any circumstances, to receive SQL queries over port 80 in order to expliot existing server infrastructure?