awslabs/amazon-neptune-tools

neptune-export service doesn't honor rdfExportScope param

shur-gro opened this issue · 0 comments

Running the following command through awscurl

awscurl -X POST -H 'Content-Type: application/json' https://myuri.amazonaws.com/v1/neptune-export -d ' { "command": "export-rdf", "params": { "endpoint": "myuri.neptune.amazonaws.com"}, "outputS3Path": "s3://mybucket/neptune-export", "rdfExportScope":"query", "sparql":"CONSTRUCT {?s ?p ?o} WHERE {GRAPH http://mygraph/regions {?s ?p ?o}}"}'

Expected: only the query results are exported.
Actual: contents of all named graphs are exported in a single file.