Amazon Neptune supports Gremlin, openCypher, and SPARQL. Gremlin and openCypher are used with property graphs, while SPARQL is used with RDF data.

Quick Scoop

  • Gremlin : Apache TinkerPop traversal language for property graphs.
  • openCypher : declarative language for property graphs.
  • SPARQL : W3C query language for RDF graphs.

Practical split

  • If you’re working with a property graph , Neptune lets you query it with Gremlin or openCypher.
  • If you’re working with an RDF graph , Neptune uses SPARQL.

Note

AWS documentation says both Gremlin and openCypher can query property-graph data stored in Neptune, regardless of how it was loaded.