You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by "Sergio Fernández (JIRA)" <ji...@apache.org> on 2013/09/26 08:46:12 UTC
[jira] [Commented] (MARMOTTA-322) Construct queries return mime
type of application/sparql-results+xml
[ https://issues.apache.org/jira/browse/MARMOTTA-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778523#comment-13778523 ]
Sergio Fernández commented on MARMOTTA-322:
-------------------------------------------
That weird, because I thin we fixed it with MARMOTTA-188. But you're right, the endpoint is not behaving as the standard way defined by the protocol:
$ curl -I http://localhost:8080/marmotta/sparql/select?query=CONSTRUCT%20%7B%20%3Fs%20%3Fp%20%3Fo%20%7D%20WHERE%20%7B%20%3Fs%20%3Fp%20%3Fo%20%7D
HTTP/1.1 200 OK
Server: Apache Marmotta/3.1.0-incubating (build -1+)
Content-Type: application/sparql-results+xml;charset=utf-8
Content-Length: 0
Date: Thu, 26 Sep 2013 06:41:54 GMT
I'll take a look asap. Thanks for the report.
> 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: Triple Store, 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