Advertisement
Guest User

Untitled

a guest
May 6th, 2015
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. query = "select ?a AS ?count where {?a <a> ?b.} limit 10";
  2. VirtGraph set = new VirtGraph (url, "user", "pass");
  3. Query sparql = QueryFactory.create(query);
  4. VirtuosoQueryExecution vqe = VirtuosoQueryExecutionFactory.create(sparql, set);
  5. vqe.execSelect();
  6.  
  7. com.hp.hpl.jena.query.QueryParseException:
  8. Lexical error at line 1, column 13. Encountered: " " (32), after : "AS"
  9. at com.hp.hpl.jena.sparql.lang.ParserSPARQL.perform(ParserSPARQL.java:99)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement