Import RDF (XML or Turtle) into Neo4j

前端 未结 3 1970
天涯浪人
天涯浪人 2020-12-15 14:27

i downloaded the Database dump of Freebase. The format of the file is rdf turtle. I need to get all the data into the neo4j database.

I already wrote an importer wit

3条回答
  •  被撕碎了的回忆
    2020-12-15 15:01

    You can try the following in order to import database into neo4j.

    First convert your database into csv files and import it into Gephi - a graph visualization tool. Then by using the Gephi plugin for neo4j database support, you should be able to export your database (from Gephi) into neo4j format.

    Finally just copy the exported file into appropriate neo4j directory.

    For importing database into Gephi, you will need two csv files - one with all the nodes and other with all the relationships. Follow this tutorial : http://blog.neo4j.org/2013/01/fun-with-beer-and-graphs.html

    Get Gephi from here: https://gephi.org/

    Get the Plugin from here : https://marketplace.gephi.org/plugin/neo4j-graph-database-support/

    Hope this helps.

提交回复
热议问题