return factory.getNewGraph();
}
public Answer answerQuery(String graphName, String queryString, long newMaxRows) throws ResourceException {
try {
final MoleculeGraph graph = getGraph(graphName);
this.answer = sparqlConnection.executeQuery(graph, queryString);
this.maxRows = newMaxRows;
this.tooManyRows = answer.numberOfTuples() > newMaxRows;
return answer;
} catch (Exception e) {