1. All you need is to append gremlin query by
.toString() and it will print pipes order.
2. No, gremlin queries can not be translated to osql(actually, gremlin allows you make such queries, that you cant do with osql). Gremlin queries are executed by built-in gremlin module that wrap it into blueprints pipes(Java), also gremlin supports Groovy engine(and this language specific syntax).
For tuning you would better look
here.