Northwind Data Set

Introduction

In this lesson, you are going to load the Northwind dataset you will need for the course.

You will need to:

  1. Download the Northwind graph data model.

  2. Create a new graph data model

  3. Open the Northwind dataset in the Import tool

  4. Run the import

Northwind Dataset

The Northwind dataset contains data about a fictional company called Northwind Traders, which imports and exports specialty foods from around the world.

The graph data model contains nodes and relationships for Customers, Orders, Products, Categories, and Employees.

mermaid
Northwind Graph Model
graph TD
    Territory -->|IN_REGION| Region
    Supplier -->|SUPPLIES| Product
    Product -->|PART_OF| Category
    Shipper -->|SHIPS| Order
    Customer -->|PURCHASED| Order
    Employee -->|SOLD| Order
    Employee -->|IN_TERRITORY| Territory
    Employee -->|REPORTS_TO| Employee
    Order -->|ORDERS<br/>unitPrice<br/>quantity<br/>discount| Product
    
    Territory(("<b>Territory</b>"))
    
    Region(("<b>Region</b>"))
    
    Supplier(("<b>Supplier</b>"))
    
    Shipper(("<b>Shipper</b>"))
    
    Product(("<b>Product</b>"))
    
    Category(("<b>Category</b>"))
    
    Order(("<b>Order</b>"))
    
    Customer(("<b>Customer</b>"))
    
    Employee(("<b>Employee</b>"))

Create a graph data model

Continue with the lesson to create the graph data model

You will need to:

  1. Download the Northwind dataset.

  2. Create a new graph data model in the Import tool.

  3. Use the Open model (with data) function to open the Northwind dataset.

  4. Run the import to create the graph data model.

Import the Northwind dataset

You need to download the complete Northwind dataset and create a new blank graph data model:

  1. Download the complete Northwind dataset

  2. Open the Import tool in Aura and select Graph Models.

    Open Import Tool →
    Aura Console - Import - Graph Models
  3. Create a new graph data model.

  4. Use the …​ menu to Open model (with data) and select the northwind-complete.zip file you downloaded.

    …​ menu - Open model with data
  5. You will see the tables (csv files) from the Northwind dataset and the graph data model.

    The northwind dataset, files and graph data model

Run the import

Run the import to create the Northwind data model:

  1. Click Run Import

  2. Select your instance

    Dialogue to select the Aura instance to import into
  3. Enter your instance credentials (if prompted)

  4. A summary of the import will be displayed

    Import result summary showing the number of nodes and relationships created

Query the graph

You can view the data in the graph using the Query tool.

Open Query Tool →
  1. Connect to your instance.

  2. Run the following query to return the Customer nodes:

cypher
Customer nodes
MATCH (c:Customer)
RETURN c
Result of the query showing the Customer nodes

Lesson Summary

In this lesson, you learned imported the Northwind graph data model into your Aura instance.

In the next module, you will learn how to manage and administer instances in Aura.

Chatbot

How can I help you today?