KDD-OpenSource / neo4j-freebase

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Freebase Neo4j Importer

Author Matteo Lissandrini

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.

License:GNU General Public License v3.0


Languages

Language:Shell 88.6%Language:Python 11.4%