graphistry / pygraphistry

PyGraphistry is a Python library to quickly load, shape, embed, and explore big graphs with the GPU-accelerated Graphistry visual graph analyzer
BSD 3-Clause "New" or "Revised" License
2.11k stars 205 forks source link

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

Open lmeyerov opened 3 years ago

lmeyerov commented 3 years ago

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

jacob-parnell-rozetta commented 1 year ago

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

lmeyerov commented 1 year ago

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 commented 1 year ago

@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.