Gremlin query to give response for 1 and 2 hops at same time - Apache TinkerPop