Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-788

SPARQL 1.1 Graph Store HTTP Protocol Support

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: BIGDATA_RELEASE_1_2_3
    • Fix Version/s: None
    • Component/s: NanoSparqlServer
    • Labels:

      Description

      curl --verbose -D- -H 'Content-Type: text/turtle' --upload-file test-data/syapse_abox.ttl http://10.0.1.12:2333/sparql?graph=http://example.org/abox
      

      reports a 500 error, where the turtle file exists and is legal, and the URL is the nanoserver sparql end point.

      The following stack trace is given:

      java.lang.UnsupportedOperationException
      	at com.bigdata.rdf.sail.webapp.UpdateServlet.doUpdateWithQuery(UpdateServlet.java:125)
      	at com.bigdata.rdf.sail.webapp.UpdateServlet.doPut(UpdateServlet.java:99)
      	at com.bigdata.rdf.sail.webapp.RESTServlet.doPut(RESTServlet.java:244)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:730)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
      	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
      	at org.eclipse.jetty.server.Server.handle(Server.java:352)
      	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
      	at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1051)
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:599)
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)
      	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451)
      	at java.lang.Thread.run(Thread.java:722)
      

      OTOH the POST and DELETE methods from
      http://www.w3.org/TR/2013/REC-sparql11-http-rdf-update-20130321/
      work
      i.e.

      curl --verbose -D- -H 'Content-Type: text/turtle' --upload-file test-data/syapse_abox.ttl -X POST http://10.0.1.12:2333/sparql?graph=http://example.org/abox
      

      and

      curl --verbose -D-  -X DELETE http://10.0.1.12:2333/sparql?graph=http://example.org/abox
      

      work.
      This suggests that the current intent is to implement the SPARQL Update Rec., but this is incomplete.

      Note: This ticket is a duplicate of BLZG-665. I am going to close BLZG-665 and leave the work on this ticket here.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              igorkim igorkim
              Reporter:
              jeremycarroll jeremycarroll
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: