code: public SparqlResult runQuery(String endpoint, String query) {
      return SparqlClient.execute(endpoint, query, username, password);
    }
docs: An extension point so we can control how the query gets executed.
  This exists for testing purposes, not because we believe it will
  actually be used for real.