Add Movie Nodes

Challenge

Your challenge is to import data about movies from a CSV file and create Movie nodes in the database.

To complete this challenge, you will need to:

  1. Download the movies.csv file and import it into Data Importer

  2. Update the model to add a new Node label Movie

  3. Map the columns from the CSV file to the properties of the Movie node

  4. Run the import to create Movie nodes in the database

You can use the movieId as the unique identifier for the Movie nodes.

Update the properties

You should also update some of the default property names to be more concise:

Update property names
From To

movie_imdbId

imdbId

movie_poster

poster

movie_tmdbId

tmdbId

movie_url

`url

Verify

You can verify that the Movie nodes have been created by running the following Cypher query to return the first 25 Movie nodes:

cypher
MATCH (m:Movie) RETURN m LIMIT 25
A graph showing 25 `Movie` nodes
Need to download a working solution?

This Data Importer model, person-movie-import.zip, contains a working solution for this exercise.

Download the model and open it using the Open model (with data) button in the …​ menu.

The Open model (with data) button highlighted in the menu.

Note that this will replace your existing model.

Summary

In this challenge, you create Movie nodes in the database by importing data from a CSV file.

In the next lesson, you will learn how to add relationships between nodes.