A distributed, horizontally scalable open-source graph database with OpenCypher-compatible queries and Raft-based consistency.
aws-samples/amazon-neptune-samples
A collection of sample applications, code and docs showing how to build with the Amazon Neptune graph database and Neptune Analytics.
- Stars
- 370
- Forks
- 137
- Open issues
- 1
- Last commit
- 3 days ago
What is it?
This repository gathers sample projects that demonstrate how to use Amazon Neptune Database and Amazon Neptune Analytics. It covers graph data modeling, loading and ETL pipelines, Gremlin, openCypher and SPARQL queries, client connectivity, streaming ingestion with Kinesis and Flink, and visualization with libraries such as Ogma and VIS.js.
The samples range from small standalone tutorials, such as an openCypher query cheatsheet and a Gremlin collaborative filtering example, to full applications like a knowledge graph chatbot built with Amazon Comprehend and Amazon Lex, and a Neptune ML fraud detection workflow. Each sub-project is maintained as best-effort sample code and may need changes before production use.
The page also lists related Amazon Neptune tools and other AWS sample repositories, including the Neptune Gremlin Client, Neptune Export, Graph Notebook and a JDBC driver.
Key features
- 01Sample code for Neptune Database and Neptune Analytics
- 02Gremlin, openCypher and SPARQL query examples
- 03Data loading and ETL pipelines from relational sources and AWS Glue
- 04Streaming ingestion examples using Kinesis, Lambda and Managed Service for Apache Flink
- 05Graph visualization demos with Ogma and VIS.js
- 06Links to related Neptune tools and AWS sample projects
Use cases
- Learning how to model and query property graphs or RDF data on Amazon Neptune
- Prototyping a knowledge graph or fraud detection application on AWS
- Connecting Java, Node.js or Python applications to Neptune with IAM or SSL
- Migrating relational data into a graph database on AWS
Things to know
- The projects are sample code maintained on a best-effort basis.
- Modifications are likely needed before deploying any sample to production.
Topics
FAQ
- What is amazon-neptune-samples?
- A collection of sample applications, code and docs showing how to build with the Amazon Neptune graph database and Neptune Analytics. This repository gathers sample projects that demonstrate how to use Amazon Neptune Database and Amazon Neptune Analytics. It covers graph data modeling, loading and ETL pipelines, Gremlin, openCypher and SPARQL queries, client connectivity, streaming ingestion with Kinesis and Flink, and visualization with libraries such as Ogma and VIS.js.
- Is amazon-neptune-samples free to use? What license does it have?
- amazon-neptune-samples is open source under the MIT-0 license. Check the license terms before using it in commercial products.
- Is amazon-neptune-samples still maintained?
- Actively maintained. The last commit to amazon-neptune-samples was on Nov 5, 2026.
- What can I use amazon-neptune-samples for?
- Learning how to model and query property graphs or RDF data on Amazon Neptune Prototyping a knowledge graph or fraud detection application on AWS Connecting Java, Node.js or Python applications to Neptune with IAM or SSL Migrating relational data into a graph database on AWS
- Where can I get amazon-neptune-samples?
- The source code and installation instructions are on GitHub: https://github.com/aws-samples/amazon-neptune-samples
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A graph database that stores adjacency as sparse matrices and queries with OpenCypher, aimed at knowledge graphs for LLM and GraphRAG workloads.
A Rust engine for planning, applying and certifying changes to OWL/RDF ontologies, with blast-radius reports and checkable Lean 4 proofs of derived conclusions.
Open-source AI memory platform that turns documents, code and conversations into a self-hosted knowledge graph for AI agents.
Python framework for building temporal knowledge graphs that track how facts change over time, used as memory and context for AI agents.
A horizontally scalable, distributed graph database with a native GraphQL query interface and ACID transactions.