gremlin> g.V().out().out().path().by("name")
==>[marko,josh,ripple]
==>[marko,josh,lop]gremlin> g.union(__.V().out().out().path().by("name"))
The by("name") modulator can only be applied to a traverser that is an Element or a Map - it is being applied to [false] a Boolean class instead