untested methods for building gremlin queries