RepositoryConnection conn = null;
try {
conn = repo.getConnection();
HTTPTupleQuery query = (HTTPTupleQuery)conn.prepareTupleQuery(qInfo.getQueryLanguage(),
qInfo.getQueryString());
query.setIncludeInferred(qInfo.isIncludeInferred());
try {
queryResult = query.evaluate();
}
catch (HTTPQueryEvaluationException e) {
if (e.isCausedByMalformedQueryException()) {
throw e.getCauseAsMalformedQueryException();
}