*/
@Override
public Graph graphQuery(final String theQuery) throws QueryException {
assertConnected();
GraphBuildingRDFHandler aHandler = new GraphBuildingRDFHandler();
try {
GraphQuery aQuery = mConnection.prepareGraphQuery(mQueryLang, theQuery);
aQuery.evaluate(aHandler);
return aHandler.getGraph();
}
catch (Exception e) {
throw new QueryException(e);
}
}