code: public TupleQueryResult sendTupleQuery(String queryString,SPARQLQueryBindingSet bindings, long start, long pageLength, boolean includeInferred, String baseURI) throws RepositoryException, MalformedQueryException,
  			QueryInterruptedException {
  		InputStream stream = null;
  		try {
  			stream = getClient().performSPARQLQuery(queryString, bindings, start, pageLength, this.tx, includeInferred, baseURI);
  		} catch (JsonProcessingException e) {
  			logger.error(e.getLocalizedMessage());
  			throw new MarkLogicSesameException("Issue processing json.");
  		}
  		TupleQueryResultParser parser = QueryResultIO.createParser(format, getValueFactory());
  		MarkLogicBackgroundTupleResult tRes = new MarkLogicBackgroundTupleResult(parser,stream);
  		execute(tRes);
  		return tRes;
  	}
docs: TupleQuery
  
  @param queryString
  @param bindings
  @param start
  @param pageLength
  @param includeInferred
  @param baseURI
  @return
  @throws RepositoryException
  @throws MalformedQueryException
  @throws UnauthorizedException
  @throws QueryInterruptedException