[
https://issues.apache.org/jira/browse/MARMOTTA-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13779159#comment-13779159
]
Peter Ansell commented on MARMOTTA-322:
---------------------------------------
I never envisaged when I created the queryresultwriter interface that it would
be used this way. I have always used RDFHandler for graph results. As you say
in the commit it is a temporary solution though.
> Construct queries return mime type of application/sparql-results+xml
> --------------------------------------------------------------------
>
> Key: MARMOTTA-322
> URL: https://issues.apache.org/jira/browse/MARMOTTA-322
> Project: Marmotta
> Issue Type: Bug
> Components: Web Services
> Affects Versions: 3.0-incubating, 3.1-incubating
> Reporter: David Ortiz
> Assignee: Sergio Fernández
> Fix For: 3.2
>
> Original Estimate: 3h
> Remaining Estimate: 3h
>
> When performing a construct query agains the SPARQL service located at
> /LMF/sparql/select, the results are returned with a content-type of
> application/sparql-results+xml. Since a construct returns a graph, it should
> use an rdf serialization as demonstrated at
> http://www.w3.org/TR/rdf-sparql-protocol/ (where the examples given are
> application/rdf+xml and text/turtle). At the very least, this bug will cause
> incompatibility when using Jena as the query client in software.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira