cayley icon indicating copy to clipboard operation
cayley copied to clipboard

☂️Umbrella: Make LinkedQL syntax semi-compatible with Gremlin

Open iddan opened this issue 6 years ago • 5 comments

Description Gremlin has support in many graph databases, a syntax that is a little more JavaScript-y. I suggest making LinkedQL semi-compatible with Gremlin for features unrelated to property graphs.

iddan avatar Jul 01 '19 16:07 iddan

It indeed sounds like a good idea. The syntax was incompatible in the past due to some limitations in Cayley, but I believe this is no longer the case.

Unfortunately, I won't be able to work on it for quite some time. Contributions are welcome though!

dennwc avatar Jul 01 '19 16:07 dennwc

Made methods lower case in #822

iddan avatar Sep 15 '19 19:09 iddan

The first few steps as I understand them:

  • Change casing of methods to match Gremlin's
  • Evaluate expressions instead of calling .All()
  • Explicit select() for tag arrays

iddan avatar Sep 16 '19 08:09 iddan

Opened a different issue for adding data methods https://github.com/cayleygraph/cayley/issues/828

iddan avatar Sep 19 '19 10:09 iddan

As part of LinkedQL we will:

  • Add compatible .where()
  • Add compatible .select()
  • Add compatible .optional()

iddan avatar Nov 17 '19 12:11 iddan