W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2010

Re: Format of SPARQL Update results

From: Alexandre Passant <alexandre.passant@deri.org>
Date: Thu, 23 Dec 2010 10:32:26 +0000
Cc: Steve Harris <steve.harris@garlik.com>, SPARQL Working Group <public-rdf-dawg@w3.org>
Message-Id: <B3E6882F-EF01-48AA-8901-9E76AB9AFDC2@deri.org>
To: Andy Seaborne <andy.seaborne@epimorphics.com>

On 23 Dec 2010, at 10:28, Andy Seaborne wrote:

> On 23/12/10 10:20, Steve Harris wrote:
>> On 2010-12-23, at 10:07, Alexandre Passant wrote:
>>> Hi,
>>> Reading the discussion about JSON serialization of query results, I figured out that we don't have a proper format for results of SPARQL Update queries.
>>> Since we agreed to send only success / failure as a result, I suggest to use the boolean return form (as for ASK) with true / false values depending on the success / failure (so that it does not require updates to the XML / JSON result formats).
>>> I don't think we need a formal vote for that, but if anyone objects or have other opinions, please let me know.
>>> If not, I'll include that to the next round of publishing.
>> Due to user requests we added some text along the lines of "12 triples added, 7 removed" in the response to a SPARQL Update requests in 5store. So, whatever format is specified, I'd like to be able to include some human readable text somewhere.
>> Worst case it can go in a XML comment, but that's not ideal.
>> - Steve
> The query protocol uses HTTP status codes.  200 for success , 400 for parse error and 500 for execution problems or any other appropriate HTTP status code.
> We could define the update protocol similarly, then leave the body content, if any, to implementations. c.f. query parse error messages.

That would be ok, but what if one is using SPARQL Update without HTTP calls, e.g. a command-line client ?
Or maybe we could extend the results with a "comment" field in the header (in addition to the current "link" one)


> 	Andy

Dr. Alexandre Passant
Digital Enterprise Research Institute
National University of Ireland, Galway
:me owl:sameAs <http://apassant.net/alex> .
Received on Thursday, 23 December 2010 10:33:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:02 UTC