I'm using Gremlin console with AWS Neptune server.
I want to add custom DSL to shorten data analysis as described here: DSL
So I can run queries as:
g.persons('marko').knows('josh').hasNext()
Instead of:
g.V().hasLabel('person').has('name','marko').out('knows').hasLabel('person').has('name','josh').hasNext()
If I understood correctly the documentation they describe how to extend the TinkerPop server, but since Neptune doesn't support that, I want to extend the Gremlin Console.
Is there an easy way to do so?