code: public TraversalStep DISTANCE(int minDistance, int maxDistance) {
  		TraversalExpression te = (TraversalExpression)this.astObject;
  		Step step = te.getSteps().get(te.getSteps().size() - 1);
  		step.setMinDistance(minDistance);
  		step.setMaxDistance(maxDistance);
  		QueryRecorder.recordInvocation(this, "DISTANCE", this, QueryRecorder.literal(minDistance),
  				QueryRecorder.literal(maxDistance));
  		return this;
  	}
docs: Define the distance in terms of how many hops to take when navigating the domain graph along a given attribute.
  The default is one hop (minDistance = maxDistance = 1),
  maxDistance -1 means hop as far as you will get (either to a leaf in the graph or to a detected loop).
  @param minDistance the minimum number of hops to navigate
  @param maxDistance the maximum number of hops to navigate
  @return