Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-465

"Error 500: OpMinus" from a federated query

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Jena 2.11.0, TDB 1.0.0, Fuseki 1.0.0
    • Fix Version/s: Jena 2.11.0
    • Component/s: Fuseki, Jena, TDB
    • Labels:
      None
    • Environment:

      Description

      Error "Not implemented: OpMinus" thrown when MINUS is used within a SERVICE call.

      Example query:

      SELECT ?o
      WHERE {
      {SERVICE <http://worldbank.270a.info/sparql> {
      SELECT ?o
      WHERE {
      <http://worldbank.270a.info/classification/country/CA> skos:exactMatch ?o .
      MINUS

      { <http://worldbank.270a.info/classification/country/CA> skos:exactMatch <http://worldbank.270a.info/classification/country/CAN> }

      }
      }}
      }

      [2013-06-02 18:30:02] WARN Fuseki :: [1] RC = 500 : OpMinus
      Not implemented: OpMinus
      at com.hp.hpl.jena.sparql.algebra.OpAsQuery$Converter.visit(OpAsQuery.java:329)
      at com.hp.hpl.jena.sparql.algebra.op.OpMinus.visit(OpMinus.java:44)
      at com.hp.hpl.jena.sparql.algebra.OpAsQuery$Converter.convert(OpAsQuery.java:89)
      at com.hp.hpl.jena.sparql.algebra.OpAsQuery.asQuery(OpAsQuery.java:49)
      at com.hp.hpl.jena.sparql.engine.http.Service.exec(Service.java:125)
      at com.hp.hpl.jena.sparql.engine.main.iterator.QueryIterService.nextStage(QueryIterService.java:51)
      at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage(QueryIterRepeatApply.java:115)
      at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding(QueryIterRepeatApply.java:67)
      at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:112)
      at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:40)
      at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:112)
      at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:40)
      at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:112)
      at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:40)
      at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:112)
      at com.hp.hpl.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:75)
      at org.apache.jena.fuseki.servlets.SPARQL_Query.executeQuery(SPARQL_Query.java:288)
      at org.apache.jena.fuseki.servlets.SPARQL_Query.execute(SPARQL_Query.java:244)
      at org.apache.jena.fuseki.servlets.SPARQL_Query.executeWithParameter(SPARQL_Query.java:198)
      at org.apache.jena.fuseki.servlets.SPARQL_Query.perform(SPARQL_Query.java:83)
      at org.apache.jena.fuseki.servlets.SPARQL_ServletBase.executeLifecycle(SPARQL_ServletBase.java:187)
      at org.apache.jena.fuseki.servlets.SPARQL_ServletBase.executeAction(SPARQL_ServletBase.java:168)
      at org.apache.jena.fuseki.servlets.SPARQL_ServletBase.execCommonWorker(SPARQL_ServletBase.java:156)
      at org.apache.jena.fuseki.servlets.SPARQL_ServletBase.doCommon(SPARQL_ServletBase.java:78)
      at org.apache.jena.fuseki.servlets.SPARQL_Query.doGet(SPARQL_Query.java:64)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)
      at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
      at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:243)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      at org.eclipse.jetty.server.Server.handle(Server.java:365)
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)
      at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
      at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
      at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
      at org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelEndPoint.run(BlockingChannelConnector.java:298)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
      at java.lang.Thread.run(Thread.java:722)
      [2013-06-02 18:30:02] INFO Fuseki :: [1] Vary Accept,Accept-Encoding,Accept-Charset
      [2013-06-02 18:30:02] INFO Fuseki :: [1] Access-Control-Allow-Origin *
      [2013-06-02 18:30:02] INFO Fuseki :: [1] Server Fuseki (0.2.8-SNAPSHOT)
      [2013-06-02 18:30:02] INFO Fuseki :: [1] 500 OpMinus (82 ms)

        Attachments

          Activity

            People

            • Assignee:
              andy Andy Seaborne
              Reporter:
              csarven Sarven Capadisli
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: