public static Translation translate(final String query) {
        return translate(query, "g");
    }
Convert a Gremlin string into a Java source code representation of that traversal.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/translator/GremlinTranslator.java