# Best way to export large graph as RDF

**URL:** <https://community.neo4j.com/t/best-way-to-export-large-graph-as-rdf/51600>\
**Category:** Linked Data, RDF, Ontology\
**Created:** [February 7, 2022, 5:16pm UTC](https://community.neo4j.com/t/best-way-to-export-large-graph-as-rdf/51600 "2022-02-07T17:16:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MariusB](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mariusb/32/22276_2.png) [@MariusB](https://community.neo4j.com/u/MariusB)\
**Post date:** [February 7, 2022, 5:16pm UTC](https://community.neo4j.com/t/best-way-to-export-large-graph-as-rdf/51600/1 "2022-02-07T17:16:54Z")

</div>

Hey all,

I'm currently working on a university project where I need to export my existing Neo4j Graph as RDF triples.  
Right now I'm trying to figure out the best way to do that given that the database is quite large (11mil nodes, 1bil relationships).

I already found the [blog post series](https://jbarrasa.com/2016/11/17/neo4j-is-your-rdf-store-part-1/) of Jesús Barrasa, where he exported small parts of the neo4j database with the neosemantics plugin and HTTP endpoints.

So here's my question: Would that also be the way to go for exporting the complete database as RDF triples? Like defining a cypher query for querying all the nodes with all the relationships and sending it per post requenst against the HTTP endpoint? Or is there a better way to it?

Thankful for every response!

---

<div class="post-metadata">

**Author:** ![jesus\_barrasa](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/jesus_barrasa/32/27513_2.png) [@jesus\_barrasa](https://community.neo4j.com/u/jesus_barrasa)\
**Post date:** [March 20, 2022, 8:55am UTC](https://community.neo4j.com/t/best-way-to-export-large-graph-as-rdf/51600/2 "2022-03-20T08:55:38Z")

</div>

I would give it a try.  
If it turns out to be too large you can always break it down into smaller chunks using the cypher RDF endpoint.  
Can you share a bit about your use case? How are you planning to use the RDF? Is it a migration?
