This project enables making OpenCypher queries to AWS Neptune from Babashka or YAMLscript.
queryblast provides a seamless way to execute OpenCypher queries against AWS Neptune using YAMLscript, making it easy to integrate graph queries into scripting workflows.
Graph databases provide a powerful way to model relationships, and AWS Neptune offers a scalable graph database engine that supports OpenCypher, Gremlin, and SPARQL. Babashka and YAMLscript are lightweight scripting tools designed for rapid automation and configuration management.
This project bridges the gap between Neptune and YAML-based scripting, allowing developers to interact with their graph database without requiring complex query builders or additional dependencies.
Ensure you have Node.js and Yarn installed.
yarn install
yarn buildexport NEPTUNE_ENDPOINT=xxx-xxx.xxxx.us-east-1.neptune.amazonaws.com
export NEPTUNE_PORT=xxxx
export AWS_ACCESS_KEY_ID=xxxxxxx
export AWS_SECRET_ACCESS_KEY=xxxxxxx
export AWS_SESSION_TOKEN=xxxxxxx./demo.ys#!/usr/bin/env ys-0
queryblast =: pods/load-pod('.esbuild/.build/src/queryblast.js')
require queryblast: => qb
result =:
qb/query!: "MATCH (n) RETURN n LIMIT 1"
say: resultThis script:
- Loads the queryblast pod.
- Requires the
queryblastmodule. - Runs a queryblast query (
MATCH (n) RETURN n LIMIT 1). - Outputs the result to the console.
- Support for Gremlin and SPARQL in YAMLscript.
- Integration with serverless Lambda functions for Neptune queries.
- Enhanced logging and query profiling.
- Example use cases for social graphs, recommendation engines, and knowledge graphs.
The following members of Aircraft Operations contributed to this project:
| Daniel Craig |
If you use this software, please cite it using the following metadata:
@software {
title = {queryblast},
author = {Aircraft Operations},
affiliation = {Southwest Airlines},
url = {https://github.com/SouthwestAir/queryblast},
month = {02},
year = {2025},
license = {BSD-3-Clause},
version = {1.0}
}