This repository has been archived by the owner on Jan 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
RIALTO SPARQL Proxy Lambda
Michael J. Giarlo edited this page Oct 18, 2018
·
2 revisions
The SPARQL Proxy is the "front door" to RIALTO Core's canonical store. To view useful SPARQL incantations that one might send, view SPARQL Recipes.
The RIALTO SPARQL Proxy is running as an AWS Lambda. See more in the AWS Console
To access this lambda via API gateway, you need to pass an API key along with the request. See RIALTO Combine Core Integration for more details.
-
Create Function
- Name
- Runtime => Go 1.x
- Role => "Choose an existing role"
- Existing Role => RialtoLambda
-
Configuration
- Designer - used to setup triggers... TBD
- Function Code => Upload the ZIP file created for the Lambda
- Runtime (verify set to Go 1.x)
- Handler => "main"
- Environment variables
- Tags => N/A
- Execution Role (Verify set to "RialtoLambda")
- Network
- Select "vpc-xxx | rialto-core"
- Subnets
- Security Groups => " ... | rialto-core"
- Execution Role
- Create API
- API Name
- Endpoint Type => "Regional"
- Create Method
- Actions pulldown => Create Method
- Select => (HTTP METHOD, i.e. POST), click check mark
- HTTP METHOD SETUP
- Integration type => Lambda
- Lambda Region => us-east-1 (or appropriate region)
- Lambda Function => Name of function from above (will autocomplete)
- Save
- HTTP METHOD - Method Execution
- NOTE: This step is critical for passing the "raw" http data to the lambda.
- Click the "Integration Request" header
- Select "Body Mapping Templates"
- Choose "When there are no templates defined (recommended)"
- Click "Add Mapping template"
- Enter the http content type (i.e. application/x-www-form-urlencoded) - click check mark
- In the text area:
{
"body": $input.json('$')
}
- Actions => Deploy API
-
NOTEs:
- API Gateway Endpoints are NOT available until they have been "deployed"
- Any changes to API Gateway configuration require a redeploy
- Deployment state => "" (this is the end of the url: http://...../
-
NOTEs:
- RIALTO Wiki Homepage
- RIALTO Use Cases
- RIALTO Architecture
- RIALTO Data Models
- RIALTO Acceptance Criteria
- RIALTO Data Sources
- Demo Videos
- Neptune/λ Integration
- Core/Combine Integration
- SPARQL Proxy λ
- Derivatives λ
- Entity Resolver Service
- Rebuild Trigger Task
- Solr Setup
- Ingest Service
- Combine Data Sources
- Data Mappings
- Load Procedure
- Starting & Monitoring ETL
- Counting # of Publications
- Jena/TDB vs Blazegraph
- Vitro Ingest Options
- VIVO/Vitro Assessment
- VIVO Community Convo Notes
- Vitro vs Stand-Alone Datastore
- Provisioning a VM
- Deployment Process
- Toggle inferencing
- Check Inferencing is On
- Recompute inferences
- Toggle indexing
- Working with Vitro Solr
- Vitro Solr Samples
- Ingest via Fuseki SPARQL-over-HTTP
- Ingest via Jena ARQ
- Ingest via Jena tdbloader
- Ingest via Vitro SPARQL-over-HTTP
- Ingest via TDB Java API
- Vitro Logging
- Detecting TDB Changes