pygraphistry icon indicating copy to clipboard operation
pygraphistry copied to clipboard

[FEA] RDF/sparql support - neptune, ...

Open lmeyerov opened this issue 4 years ago • 3 comments

Is your feature request related to a problem? Please describe.

Neptune and other DBs support rdf/sparql, it'd be great to enable one-liners fo them!

Describe the solution you'd like

Integration with a store-rich lib like https://github.com/RDFLib/rdflib , esp. if Arrow-friendly, and explicit plugins for DB connectors

lmeyerov avatar May 05 '21 18:05 lmeyerov

@lmeyerov - bumping this, has there been any progress on development for RDF/SPARQL? Would love to integrate Graphistry with AWS Neptune

jacob-parnell-rozetta avatar May 22 '23 00:05 jacob-parnell-rozetta

Hi @jacob-parnell-rozetta we recently started using https://aws-sdk-pandas.readthedocs.io/en/stable/tutorials/033%20-%20Amazon%20Neptune.html for some other Neptune work, which gets you a dataframe that you can drop into regular pygraphistry calls

  • @DataBoyTX who is more of a sparql power user here

lmeyerov avatar May 22 '23 13:05 lmeyerov

@jacob-parnell-rozetta - Agreed, the awswrangler is your best option to query data from Neptune have the results returned as a dataframe which can then be easily loaded into Graphistry. And awswrangler supports all three of the query Neptune query languages: SPARQL, open cypher and gremlin. The tutorial page above is a great place to start, but you might also check out the API reference for the execute_sparql function

Let us know if you have any questions.

DataBoyTX avatar May 22 '23 20:05 DataBoyTX