Gremlin to cypher transpiler

549 views
Skip to first unread message

selva

unread,
Aug 4, 2021, 10:05:21 PM8/4/21
to Gremlin-users

our system is currently aligned with apache tinkerpop gaph database
Due to critical business reason wanted to migrate it to Neo4j

we have used gremlin for graph traversal and approximately 10000 gremlin traversal queries(read intensive system) and impossible to translate each and every query to cypher .
It will lead to a very big change in the system , testing etc .

Hence we are looking for a gremlin to cypher converter library 

Could you please provide insights .

Thanks,
Selvaraj C

HadoopMarc

unread,
Aug 5, 2021, 2:05:50 AM8/5/21
to Gremlin-users
Hi,

Can you first check https://tinkerpop.apache.org/docs/current/reference/#neo4j-gremlin and see whether it meets your requirements?

Best wishes,    Marc

Op donderdag 5 augustus 2021 om 04:05:21 UTC+2 schreef selva:

selva

unread,
Aug 5, 2021, 11:16:03 AM8/5/21
to Gremlin-users
thanks Marc.
have checked it and doesnt work .
do we have any reference for building abstract syntax tree for gremlin query?

Stephen Mallette

unread,
Aug 6, 2021, 6:30:17 AM8/6/21
to gremli...@googlegroups.com
As of 3.5.0 there is an ANTLR grammar for Gremlin - perhaps that can be of some use:


It is still under development though - you may find patches where bits of Gremlin don't get fully processed by it. That said, it's tested against all the reference documentation and our gherkin test suite so it does have pretty good compatibility at this point.


--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/c2d2afc5-abe4-48c3-bfba-738152b690c7n%40googlegroups.com.

desire

unread,
Jun 9, 2025, 10:57:59 AMJun 9
to Gremlin-users

hello,I want to know if you have any progress on this, as we are currently working on it too.
Looking forward to communicating with you very much.
Thanks,

Andrea Child

unread,
Jun 9, 2025, 8:19:36 PMJun 9
to gremli...@googlegroups.com

Hello,

While there still isn't an official Gremlin to Cypher converter perhaps you could share any particular challenges you’ve encountered, and the gremlin community could help to figure out solutions for those challenges.

Thanks,

Andrea

 

--

You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to

Joshua Shinavier

unread,
Jun 13, 2025, 8:40:25 AMJun 13
to gremli...@googlegroups.com
In addition to what Andreas said, I would also share some examples of your Gremlin queries. Whether particular queries can be meaningfully converted at all, depends on the syntax features you use. Then you can compare the two paths to success.

Josh

Reply all
Reply to author
Forward
0 new messages