6

I am trying to use .valueMap().with(WithOptions.tokens) in my query against AWS Neptune. I get MalformedQueryException. I suspect that this is a new feature in Gremlin 3.4.*

I have not been able to find a page that outlines what version of the syntax is supported by Neptune.

Where does this information exist?

James Render
  • 1,490
  • 1
  • 14
  • 26

2 Answers2

4

If you use the /status REST API you can find out precisely which TinkerPop version is currently supported. If you do something like

curl <my endpoint>:8182/status

You should see something like

{"status":"healthy","startTime":"Mon Dec 23 03:09:51 UTC 2019","dbEngineVersion":"1.0.2.1.R4","role":"writer","gremlin":{"version":"tinkerpop-3.4.1"},"sparql":{"version":"sparql-1.1"},"labMode":{"ObjectIndex":"disabled","Streams":"enabled","ReadWriteConflictDetection":"enabled"}}

UPDATED 2022-05-18

As an alternative to /status if you are using the Neptune workbench (Jupyter notebooks) the %status magic command will also produce the status information that includes the supported query language versions.

Kelvin Lawrence
  • 14,674
  • 2
  • 16
  • 38
2

You can use AWS User Guide.

Amazon Neptune is compatible with Apache TinkerPop3 and Gremlin 3.3.2.

noam621
  • 2,766
  • 1
  • 16
  • 26