aws-samples / amazon-neptune-samples

Samples and documentation for using the Amazon Neptune graph database service
MIT No Attribution
355 stars 142 forks source link

Save results of query to variable for additional processing? #114

Open zednis opened 2 years ago

zednis commented 2 years ago

Is there a way to take the results from running a SPARQL query in a Neptune workbench notebook and save that to a variable which can be further processed?

krlawrence commented 1 year ago

I just happened to see this. I hope by now you have found an answer. The --store-to result option on the %%sparql magic will store the output to a variable called result.

In case you have questions or suggestions in the future, the graph-notebook project has its own Git repo here : https://github.com/aws/graph-notebook