Skip to content

Docker file and scripts to Load Freebase dump into Neo4j server.

License

Notifications You must be signed in to change notification settings

kuzeko/neo4j-freebase

Repository files navigation

Freebase Neo4j Importer

Set up Neo4j Server, and Load Cleaned Freebase Dump

This suite downloads data from The Freebase ExQ Data Dump, and loads it into a Neo4j server.

Nodes are of two types: Entities and Types, edges instead have around 4K alternatives.

Requirements

  1. Python (3)

  2. Docker

Instructions:

  1. Use scripts/download.py or manually download the required files, their id n GDrive are listed in scripts/files.list, move them in ./data

  2. Use scripts/preprocess.sh to clean the file and produce the required .csv files (they will be created in ./data)

  3. Use scripts/build.sh to build the docker image

  4. Use scripts/run.sh -i to import the data

  5. Use scripts/run.sh -x to index some basic properties

  6. Use scripts/run.sh to start a server on localhost:7474

About

Docker file and scripts to Load Freebase dump into Neo4j server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages