From: Jason K. <jb...@en...> - 2017-07-01 02:52:26
|
Thanks for the suggestion. I tried both with/without a space after the colon, but both don't work. (Space after the colon is a common practice: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html) With regards, Jason Koh cseweb.ucsd.edu/~jbkoh On Fri, Jun 30, 2017 at 7:48 PM, Bryan Thompson <br...@bl...> wrote: > Just looking at the wiki page. Maybe it is the whitespace between the > ":" and text/turtle? The examples there do not have that whitespace. > Pretty sure it is not part of the http header convention. > > E.g., curl -X POST http://localhost:8080/bigdata/sparql > --data-urlencode 'query=SELECT * { ?s ?p ?o } LIMIT 1' -H > 'Accept:application/rdf+xml' > > From the same wiki page. > > Bryan > > On Fri, Jun 30, 2017 at 5:52 PM, Jason Koh <jb...@en...> wrote: > > I tried application/x-turtle also, which does work. > > > > > > With regards, > > Jason Koh > > cseweb.ucsd.edu/~jbkoh > > > > On Fri, Jun 30, 2017 at 5:26 PM, Jason Koh <jb...@en...> wrote: > >> > >> Btw, Build Version=2.1.4 > >> > >> > >> With regards, > >> Jason Koh > >> cseweb.ucsd.edu/~jbkoh > >> > >> On Fri, Jun 30, 2017 at 5:09 PM, Jason Koh <jb...@en...> wrote: > >>> > >>> Hi there, > >>> > >>> Thanks for the great project. I am trying to use this for backend of my > >>> project. Though Blazegraph looks not that active for now, it is the > fastest > >>> SPARQL endpoint in my experiences. > >>> > >>> I am trying to parse my SPARQL query result with Turtle, but Blazegraph > >>> does not return Turtle format but OWL/XML format, that my library > cannot > >>> parse. I specifically did following command: > >>> curl -X POST http://localhost:9999/blazegraph/sparql --data-urlencode > >>> 'query=<queryStr>' -H 'Accept: text/turtle' > >>> I checked that this is correct: > >>> https://jira.blazegraph.com/browse/BLZG-1689 > >>> but it only returns in OWL format. > >>> > >>> Thanks in advance! > >>> > >>> > >>> With regards, > >>> Jason Koh > >>> cseweb.ucsd.edu/~jbkoh > >> > >> > > > > > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > > Bigdata-developers mailing list > > Big...@li... > > https://lists.sourceforge.net/lists/listinfo/bigdata-developers > > > |