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