Hi, As my previous mail is still waiting for approval because I specified too many recipients, I'm replying to it again with only virtuoso mailing list as a recepient.
Thank you. Regards, Jonathan Dray 2009/8/18 Jonathan Dray <[email protected]> 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 2009/8/18 Jonathan Dray <[email protected]> > 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 >
