Janusgraph, Big Data, Data Science, Technology, Graphic Design.
use the in('father') and out('father') methods twice in succession. This is a clear example where loops can be used instead of tailing the same method multiple times like this. And with JanusGraph, you can. There's a simple repeat() method that makes this very easy. Below are the same queries