Hi Peter,

Sorry, this is a typo.
The value of the accept header was indeed* application/sparql-results+xml*
Thanks for pointing this out.

Now after reading the w3c recommendation on Sparql query resuls XML formats,
it seems that "application/sparql-results+xml" is a valid accept header when
the result format is of type Boolean.
Which is the case for ask queries.

It now makes me feel we are facing a virtuoso bug.

Regards,
Jonathan Dray.


2009/8/18 Peter Ansell <[email protected]>

> Have you tried application/sparql-results+xml ? [1]
>
> [1] http://www.w3.org/TR/rdf-sparql-XMLres/#boolean-results
>
>
> *From:* Jonathan Dray <[email protected]>
> *To:* [email protected]
> *Cc:* Laurent Bihanic <[email protected]>; Maxime Aimetti <
> [email protected]>; Alexandre Bertails <[email protected]>
> *Sent:* Tuesday, 18 August, 2009 6:59:09 PM
> *Subject:* [Virtuoso-devel] Result format with ASK queries
>
> Hi,
>
> When I execute an *ask* query and I specify a HTTP Accept header of type :
> *application/sparql+xml*
> I get the following error :
>
> "*37000 Error SP031: SPARQL generic error: Format name 'HTTP+XML
> application/sparql-re' is not supported for boolean results made by SPARQL
> ASK result-mode*"
>
> This error message occurs on virtuoso 5.0.11 and over (20090701 and
> 20090803 snapshots as well).
> I think I'm in the same case as Kjetil Kjernsmo, see his bug report :
> http://sourceforge.net/tracker/index.php?func=detail&aid=2808323&group_id=161622&atid=820574
>
> I believe this is a normal behavior and I should use *application/rdf+xml
> *accept header instead.
> Could you please confirm that ?
>
> Thank you.
> Best regards,
>
> Jonathan Dray
>
>
> ------------------------------
> Find local businesses and services in your area with Yahoo!7 Local. Get
> started<http://au.rd.yahoo.com/search/local/mailtagline/*http://local.yahoo.com.au>
> .
>

Reply via email to