RDFLib and Neo4j

100 views
Skip to first unread message

JB

unread,
Feb 13, 2021, 8:20:16 AM2/13/21
to rdflib-dev
Hi! 

I've been working on an RDFLib Store backed by Neo4j and would love to have feedback from the community.


The rdflib.Store implementation relies on the n10s plugin for neo4j that takes care of the RDF serialisation/deserialisation of the Neo4j graph as triples.

I've created this colab notebook if you want to see rdflib-neo4j in action. It hits a public neo4j instance so you can run it without having to go through the hassle of setting up the DB and all. 

I know RDF and property graph (Neo4j) but neither Python or rdflib are in my "comfort zone" so any feedback or contribution would be highly appreciated :)

Thanks!

JB.

Wes Turner

unread,
Feb 13, 2021, 4:16:52 PM2/13/21
to rdfli...@googlegroups.com
Nice. "RDF*/SPARQL* support?" re: property graphs and reification might be a good one to subscribe to: https://github.com/RDFLib/rdflib/issues/955

--
http://github.com/RDFLib
---
You received this message because you are subscribed to the Google Groups "rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdflib-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rdflib-dev/474d3398-6ee3-46e5-8a6d-b13c2e8e4c9an%40googlegroups.com.

Nicholas Car

unread,
Mar 2, 2021, 1:30:08 AM3/2/21
to rdfli...@googlegroups.com
This is a really useful implementation! We are often asked about RDF v. Neo4J and where RDF* fits in so the Store helps - Neo4J can "do" RDF.

I too, like Wes, would love to see RDF* handling.

I'll try and think about how we can list this repo, and thus the Store, in the RDFlib documentation somewhere - perhaps a new "known extensions" section for external work. Any suggestions welcome.

Nick

JB

unread,
Mar 2, 2021, 4:50:35 AM3/2/21
to rdflib-dev
Thanks Nick and Wes,

The RDF plugin for Neo4j already supports RDF* (see this post) so it should be relatively simple to extend the rdflib-neo4j store to 'wrap' that functionality when rdflib has support for it.

Regarding listing, sharing, promoting the rdflib-neo4j project so that people out there can use it and we can get feedback and improve it... I'd love that!! If you can make that happen please go ahead with any/all of your suggestions.

Cheers,

JB.

Nicholas Car

unread,
Jan 8, 2022, 3:11:00 AM1/8/22
to rdfli...@googlegroups.com
I've added a list item in for the Neo4J store at https://rdflib.dev/ but I'd be happy to have more links to more external RDFLib extension packages at other points in the RDFlib documentation, if people would like to put in PRs for them. The repo for https://rdflib.dev/ is https://github.com/RDFLib/rdflib.github.io

Nick

Reply all
Reply to author
Forward
0 new messages