Skip to content

Instantly share code, notes, and snippets.

@gatemezing
Created January 26, 2018 10:22
Show Gist options
  • Save gatemezing/e7fc02dbc8dafb9cf57ce6ce40d3372a to your computer and use it in GitHub Desktop.
Save gatemezing/e7fc02dbc8dafb9cf57ce6ce40d3372a to your computer and use it in GitHub Desktop.
Script permettant de lancer le loader de Neptune pour charger une base graphe en nquads
#!/bin/bash
# loading RDF nquads data into Neptune from MDK bucket
curl -X POST \
-H 'Content-Type: application/json' \
http://mdk.cluster-cai4oe44teuh.us-east-1-beta.rds.amazonaws.com:8182/loader -d '
{
"source" : "s3://mdk-neptune/opoceProd",
"format" : "nquads",
"iamRoleArn" : "arn:aws:iam::672418254241:role/NeptuneLoadFromS3",
"region" : "us-east-1",
"failOnError" : "FALSE"
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment