Graph traversal with Gremlin
Apache TinkerPop™ is a graph computing framework for both graph databases (OLTP) and graph analytic systems (OLAP).
Gremlin is the graph traversal language of Apache TinkerPop. Gremlin is a functional, data-flow language.
http://tinkerpop.apache.org/docs/3.1.1-incubating/tutorials/getting-started/