code: @Override
      public void evaluate(RDFHandler resultHandler) throws QueryEvaluationException, RDFHandlerException {
          GraphQueryResult queryResult = evaluate();
          if(queryResult.hasNext())
          {
              QueryResults.report(queryResult, resultHandler);
          }
      }
docs: evaluate graph query w/ RDFHandler
  
  @param resultHandler
  @throws QueryEvaluationException
  @throws RDFHandlerException