Query Neptune from AWS Lambda Using the SPARQL Query Language
In this lab, you'll practice configuring a Lambda Function to query a Neptune database using the SPARQL query language. When you're finished, you'll have a working proof of concept that Lambda can communicate with Neptune.
Terms and conditions apply.
Lab info
Lab author
Challenge
Create a New Lambda Function
You'll create a new Lambda function.
Challenge
Modify the Lambda IAM Execution Role to Allow Querying a Neptune Database
You'll modify the Lambda execution role to work with a Neptune database.
Challenge
Configure the VPC of the Lambda Function
You'll configure the Lambda function to use same VPC that is being used by the Neptune database.
Challenge
Configure the Neptune Endpoint variables
You'll retrieve the Neptune writer endpoint, and configure the Lambda function to send queries to this endpoint.
Challenge
Test Sending a SPARQL Read Query
You'll create a basic SPARQL SELECT query to test the read connection to the Neptune database.
Challenge
Test Sending a SPARQL Write Query
You'll create a basic SPARQL INSERT DATA query to test the write connection to the Neptune database.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- Working with AWS Lambda
- Familiar with Javascript
- Familiar with the SPARQL query language
- How to configure Amazon Neptune