My query is quite simple but I do not know how to perform this in gremlin. I could perform the same in cypher. I have a many persons in my graph. Some of them are friends .