Hi folks! Does anyone have application code they can share, showing how a graph DB is connected to a python (fastAPI, Django) backend? Or instructions/examples of how to do this?
Hey Ellie! Most graph databases expose a SPARQL endpoint that can then be queried directly through HTTP or using a wrapper such as RDFLib sparql wrapper (posted above by Matteo)
RDFLib does a lot more than provide a SPARQL wrapper. (It's actually older than SPARQL!) It can do a lot of other things that should help with the integration.
There are a number of ORM (object-RDF Mapping) frameworks, Empire and Alibaba come to mind. But for a more dynamic "ORM-like" functionality, check out GraphQL