Closed justinlittman closed 5 years ago
Which produces a malformed SPARQL query in entity resolver:
entity-resolver_1 | 2019/01/11 14:12:27 http: panic serving 172.20.0.1:34594: Query: SPARQL request failed: 400 Bad Request. Response body:
entity-resolver_1 | SPARQL-QUERY: queryStr=SELECT ?id
entity-resolver_1 | WHERE {
entity-resolver_1 | ?id a <http://vivoweb.org/ontology/core#Grant> .
entity-resolver_1 | ?id <http://purl.org/dc/terms/identifier> "\21173004" .
entity-resolver_1 | }
entity-resolver_1 | java.util.concurrent.ExecutionException: org.openrdf.query.MalformedQueryException: Lexical error at line 4, column 49. Encountered: "2" (50), after : "\"\\"
entity-resolver_1 | at java.util.concurrent.FutureTask.report(FutureTask.java:122)
entity-resolver_1 | at java.util.concurrent.FutureTask.get(FutureTask.java:192)
entity-resolver_1 | at com.bigdata.rdf.sail.webapp.BigdataServlet.submitApiTask(BigdataServlet.java:281)
entity-resolver_1 | at com.bigdata.rdf.sail.webapp.QueryServlet.doSparqlQuery(QueryServlet.java:653)
entity-resolver_1 | at com.bigdata.rdf.sail.webapp.QueryServlet.doPost(QueryServlet.java:273)
entity-resolver_1 | at com.bigdata.rdf.sail.webapp.RESTServlet.doPost(RESTServlet.java:269)
entity-resolver_1 | at com.bigdata.rdf.sail.webapp.MultiTenancyServlet.doPost(MultiTenancyServlet.java:193)
entity-resolver_1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
entity-resolver_1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
entity-resolver_1 | at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
entity-resolver_1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
entity-resolver_1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
entity-resolver_1 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
entity-resolver_1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
entity-resolver_1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
entity-resolver_1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
entity-resolver_1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
entity-resolver_1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
entity-resolver_1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
entity-resolver_1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
entity-resolver_1 | at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
entity-resolver_1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
entity-resolver_1 | at org.eclipse.jetty.server.Server.handle(Server.java:497)
entity-resolver_1 | at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
entity-resolver_1 | at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
entity-resolver_1 | at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
entity-resolver_1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)
entity-resolver_1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539)
entity-resolver_1 | at java.lang.Thread.run(Thread.java:748)
Should this be moved to https://github.com/sul-dlss/rialto-entity-resolver ?
Agree @jcoyne
From
time exe/transform call WebOfScience -i data/wos/wos_2012-01-01+2012-06-30.ndj > data/wos/wos_2012-01-01+2012-06-30.sparql
: