Neo4j Chypre convention in to gremlin query
We are trying to convert the Neo4j chypre query into a Gremlin query, but we are stuck on some extract methods in the chypre query that need to be converted into the Gremlin query.
The chypre query follows:
Output of the above query as follow:
I'm looking for a Gremlin query that can effectively replace the extract method for Neo4j and produce the same output. Your insights would be greatly appreciated.
2 Replies
@janusgraph, passionately looking for a solution
I'm not familiar with query languages other than Gremlin, but I can give a shot at coming up with an answer for this tomorrow if no one else has suggested anything by then.
effectively replace the extract method for Neo4j and produce the same outputCould you clarify what you meant by this? Did you need the output to be in the exact same output (with the same formatting)? Or just output that contains the same data but it's ok for it to be organized differently? Did you need it back in a JSON compatible format? Also, there's some duplicated data in the results, which tends to make the Gremlin query quite long since you'll need to add steps just for formatting.