try {
GraphQueryResult graphQueryResult = this.connection.prepareGraphQuery(
QueryLanguage.SPARQL, query).evaluate();
return new GraphIterable(graphQueryResult, this);
} catch(MalformedQueryException e) {
throw new ModelRuntimeException(e);
} catch(UnsupportedQueryLanguageException e) {
throw new ModelRuntimeException(e);
} catch(QueryEvaluationException e) {
throw new ModelRuntimeException(e);
} catch(RepositoryException e) {
throw new ModelRuntimeException(e);
}
}