private void optionalVisit(final Op op) {

            OpWalker.walk(op, this);
        }
Walking OP for Optional in SPARQL algebra.
sparql-gremlin/src/main/java/org/apache/tinkerpop/gremlin/sparql/SparqlToGremlinCompiler.java