Skip to content

This is a Dataset from IMDB prepared to be ingested in Neo4J.

Notifications You must be signed in to change notification settings

cwoodrow/neo4j-imdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

IMDB Dataset for Neo4J

This is a Dataset from IMDB prepared to be ingested in Neo4J.

Usage

Download NEO4J from here (choose Community Server) and unzip it to your favorite target (we'll call it $NEO4J_HOME from now on). You'll also need Java 8+ on your computer.

# we need to cat role files (splitted due to github limits)
cat ./imdb-data/roles.split.* > ./imdb-data/roles.csv

$NEO4J_HOME/bin/neo4j-admin import --nodes:Movie ./imdb-data/movies.csv --nodes:Actor ./imdb-data/actors.csv --relationships ./imdb-data/roles.csv

$NEO4J_HOME/bin/neo4j start

Then go to http://localhost:7474/browser/.

First query

Here you can make your first query :

MATCH (kevin:Actor{name:"Bacon, Kevin (I)"})
return kevin;

Disclamer

Data from IMDB can be a bit tricky. For example, "Kevin Bacon" is "Bacon, Kevin (I)". Don't ask me why, anyway it is consitent with actual IMDB search reesults.

Original Data

Orifinal Data may be found here.

About

This is a Dataset from IMDB prepared to be ingested in Neo4J.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published