---
title: "Demo databases"
description: "The ten demo databases included with CoraDB: relational, graph and hybrid datasets such as e-commerce, Northwind and Sakila, with schemas."
url: "https://www.coradb.ai/manual/demo-databases.html"
markdown_url: "https://www.coradb.ai/manual/markdown/demo-databases.md"
product: "CoraDB"
version: "1.0"
keywords: "coradb demo databases, sample databases, graph datasets, northwind graph, movielens graph, sakila, chinook, star wars graph, nba graph, faers healthcare graph"
---

# Demo databases

CoraDB comes with **ten demo databases**, already loaded and ready to query. They cover the three ways of modelling data in CoraDB: classic **relational** schemas queried with ANSI SQL, pure **graph** schemas made of vertex and edge tables queried with [SELECT … MATCH](https://www.coradb.ai/manual/graph/match.html), and a **hybrid** schema that mixes both in one database.

Connect to any of them by name, for example:

```bash
corasql -u dba northwind
```

The examples of this manual use [e-commerce](https://www.coradb.ai/manual/sample-database.html).

## At a glance

| Database | Model | Domain | Tables | Views | Vertex tables | Edge tables | Rows / nodes + edges |
|---|---|---|---:|---:|---:|---:|---:|
| [e-commerce](https://www.coradb.ai/manual/demo-databases.html#e-commerce) | Hybrid (relational + graph) | Online athletic-apparel store | 3 | 0 | 6 | 9 | 14,114 rows + 3,397 nodes + 12,808 edges |
| [northwind](https://www.coradb.ai/manual/demo-databases.html#northwind) | Graph | Food & beverage trading company | 0 | 0 | 9 | 9 | 1,104 nodes + 4,909 edges |
| [northwind-rel](https://www.coradb.ai/manual/demo-databases.html#northwind-rel) | Relational | Food & beverage trading company | 11 | 8 | 0 | 0 | 3,308 rows |
| [chinook](https://www.coradb.ai/manual/demo-databases.html#chinook) | Relational | Digital-media (music) store | 11 | 0 | 0 | 0 | 15,607 rows |
| [sakila](https://www.coradb.ai/manual/demo-databases.html#sakila) | Relational | DVD-rental stores | 15 | 0 | 0 | 0 | 46,268 rows |
| [olympics1988-2004](https://www.coradb.ai/manual/demo-databases.html#olympics1988-2004) | Relational | Olympic Games 1988–2004 | 11 | 4 | 0 | 0 | 3,570 rows |
| [healthcare](https://www.coradb.ai/manual/demo-databases.html#healthcare) | Graph | Drug adverse-event reports (FDA FAERS) | 0 | 0 | 8 | 11 | 11,381 nodes + 61,453 edges |
| [movie-lens](https://www.coradb.ai/manual/demo-databases.html#movie-lens) | Graph | Movie ratings, tags and cast | 0 | 0 | 4 | 5 | 25,497 nodes + 2,223,517 edges |
| [nba2014-2015](https://www.coradb.ai/manual/demo-databases.html#nba2014-2015) | Graph | NBA season 2014-2015 | 0 | 0 | 8 | 9 | 1,982 nodes + 34,933 edges |
| [star-wars](https://www.coradb.ai/manual/demo-databases.html#star-wars) | Graph | Star Wars films I–VI | 0 | 0 | 6 | 4 | 260 nodes + 611 edges |

## e-commerce

**e-commerce** · Hybrid (relational + graph)

A hybrid relational + graph dataset modelling an online athletic-apparel and gear store. Customers place orders for products; products belong to categories and are made by brands and offered by suppliers; everything is anchored to geographic cities. It also captures lightweight social signals — which brands a customer follows and which products they like.

The transactional side (orders, order_items) is stored as relational tables; the master/reference data (customers, products, categories, brands, suppliers, cities) is stored as graph vertices and edges, so a single query can combine both worlds.

It is the sample database of this manual: see [Sample database: e-commerce](https://www.coradb.ai/manual/sample-database.html) for the full schema.

![Schema of the e-commerce demo database](https://www.coradb.ai/manual/_astro/e-commerce-schema.B-UwYIEG.svg)

| Object type | Objects (records) |
|---|---|
| Tables | `orders` (2,910), `order_items` (11,179), `countries` (25) |
| Nodes | `product` (2,115), `customer` (1,000), `city` (115), `brand` (106), `supplier` (29), `category` (32) |
| Edges | `part_of` (3,618), `manufactures` (2,135), `available_at` (2,115), `follows` (1,934), `likes` (1,842), `resides_in` (1,000), `located_at` (106), `located_in` (29), `distributes` (29) |

## northwind

**Northwind (graph)** · Graph

A graph version of Microsoft’s classic Northwind sample, modelling a small food-and-beverage trading company: customers place orders for products, products belong to categories and come from suppliers, orders are handled by employees and delivered by shippers, and employees are organised into sales territories and regions with a management hierarchy. Here every object is a graph vertex or edge — even orders and order lines.

![Schema of the northwind demo database](https://www.coradb.ai/manual/_astro/northwind-schema.DtalDm1Q.svg)

| Object type | Objects (records) |
|---|---|
| Nodes | `order` (830), `customer` (91), `product` (77), `territory` (53), `supplier` (29), `employee` (9), `category` (8), `region` (4), `shipper` (3) |
| Edges | `orders` (2,155), `purchased` (830), `sold` (830), `ships` (830), `part_of` (77), `supplies` (77), `in_region` (53), `in_territory` (49), `reports_to` (8) |

## northwind-rel

**Northwind (relational)** · Relational

The classic Microsoft Northwind trading company as a fully relational CoraDB schema. It records the company’s products (organised into categories and bought from suppliers), the customers who buy them, the orders those customers place (each order a set of line items in order_details, shipped by one of three shippers), and the employees who take the orders — including a reports-to management chain — together with the sales territories and regions those employees cover. It showcases primary/foreign keys, a self-referencing key, composite-key link tables and views.

![Schema of the northwind-rel demo database](https://www.coradb.ai/manual/_astro/northwind-rel-schema.p2YHKn5b.svg)

| Object type | Objects (records) |
|---|---|
| Tables | `order_details` (2,155), `orders` (830), `territories` (53), `employee_territories` (49), `customers` (91), `products` (77), `suppliers` (29), `categories` (8), `employees` (9), `region` (4), `shippers` (3) |
| Views | `order_subtotals` (computed), `order_details_extended` (computed), `alphabetical_list_of_products` (computed), `current_product_list` (computed), `products_above_average_price` (computed), `quarterly_orders` (computed), `product_sales_for_1997` (computed), `category_sales_for_1997` (computed) |

## chinook

**Chinook** · Relational

Chinook models a digital-media store — an "iTunes"-style catalogue. Customers buy tracks on invoices; tracks belong to albums by artists and are classified by genre and media type; a small staff of employees supports the customers and reports up a management chain; and tracks are grouped into user playlists. It is loaded as a fully relational CoraDB database and queried with ordinary ANSI SQL.

![Schema of the chinook demo database](https://www.coradb.ai/manual/_astro/chinook-schema.D3OOT-Lp.svg)

| Object type | Objects (records) |
|---|---|
| Tables | `playlist_track` (8,715), `track` (3,503), `invoice_line` (2,240), `invoice` (412), `album` (347), `artist` (275), `customer` (59), `genre` (25), `playlist` (18), `employee` (8), `media_type` (5) |

## sakila

**Sakila** · Relational

The classic MySQL Sakila sample, modelling a chain of DVD-rental stores: customers rent film copies (inventory) from stores, staff record the rentals and take payments, and films are described by category, language and cast. It is loaded as a fully relational CoraDB database. The transactional core is rental and payment; the reference data is the film catalogue, the physical stock, the people and the geography chain (address to city to country).

![Schema of the sakila demo database](https://www.coradb.ai/manual/_astro/sakila-schema.BH59SAeg.svg)

| Object type | Objects (records) |
|---|---|
| Tables | `payment` (16,044), `rental` (16,044), `film_actor` (5,462), `inventory` (4,581), `film` (1,000), `film_category` (1,000), `address` (603), `city` (600), `customer` (599), `actor` (200), `country` (109), `category` (16), `language` (6), `store` (2), `staff` (2) |

## olympics1988-2004

**Olympics 1988-2004** · Relational

A relational dataset modelling the Olympic Games, deliberately scoped to the five editions with complete medal results — Seoul 1988, Barcelona 1992, Atlanta 1996, Sydney 2000 and Athens 2004. It covers the participating countries, the athletes and the events they competed in, the stadiums that hosted them, the medals won, the real worldwide sponsors of each edition, and the individual editions themselves. Every athlete, event, stadium and country in the database actually takes part in one of the five Games.

![Schema of the olympics1988-2004 demo database](https://www.coradb.ai/manual/_astro/olympics1988-2004-schema.BqrECXaa.svg)

| Object type | Objects (records) |
|---|---|
| Tables | `athlete_result` (1,935), `athlete` (1,332), `event` (115), `country` (92), `olympic_games_sponsorship` (53), `stadium` (23), `continent` (7), `olympic_games` (5), `medal` (3), `event_gender` (3), `athlete_gender` (2) |
| Views | `country_medals` (computed), `continent_medals` (computed), `country_host_cities` (computed), `olympic_sponsors` (computed) |

## healthcare

**Healthcare (FAERS)** · Graph

A pure graph dataset built from FDA Adverse Event Reporting System (FAERS) pharmacovigilance data. Each case is a single adverse-event report, linked to the drugs involved (as primary suspect, secondary suspect, concomitant or interacting), the reactions the patient experienced, the resulting outcome, the patient’s age group, the therapy received, the reporting source and the manufacturer that registered the report. Every object is a vertex or edge, making it a natural showcase for connected-data questions.

![Schema of the healthcare demo database](https://www.coradb.ai/manual/_astro/healthcare-schema.soYfL6fW.svg)

| Object type | Objects (records) |
|---|---|
| Nodes | `case` (4,307), `reaction` (2,701), `drug` (2,500), `therapy` (1,721), `manufacturer` (136), `outcome` (6), `age_group` (5), `report_source` (5) |
| Edges | `has_reaction` (21,069), `is_concomitant` (8,393), `prescribed` (5,441), `resulted_in` (4,461), `falls_under` (4,307), `registered` (4,307), `reported_by` (4,307), `is_primary_suspect` (3,830), `is_secondary_suspect` (3,616), `received` (1,721), `is_interacting` (1) |

## movie-lens

**MovieLens** · Graph

The classic MovieLens movie-rating dataset (GroupLens) loaded as a property graph, built by merging the MovieLens small and 1M releases into one dataset and enriched with film cast. Viewers rate and tag movies, every movie belongs to one or more genres, and actors play in movies — a natural fit for recommendation-style traversals (co-ratings, taste profiles, genre overlap) alongside rating and demographic analytics.

![Schema of the movie-lens demo database](https://www.coradb.ai/manual/_astro/movie-lens-schema.nIBPhMbO.svg)

| Object type | Objects (records) |
|---|---|
| Nodes | `movie` (10,676), `actor` (8,152), `viewer` (6,650), `genre` (19) |
| Edges | `rated` (1,101,045), `tagged` (1,028,409), `played_in` (66,705), `has_genre` (23,310), `is_friend_with` (4,048) |

## nba2014-2015

**NBA 2014-2015** · Graph

A pure graph dataset covering a single NBA season (2014-2015) — the regular season, the playoffs and the All-Star Game. It describes the teams, players, coaches, executives and referees of the league and connects them through the games and playoff series they took part in. Most of the interesting information lives on the edges: per-game box-score statistics, season totals, per-game results and refereeing assignments.

![Schema of the nba2014-2015 demo database](https://www.coradb.ai/manual/_astro/nba2014-2015-schema.C9krWabQ.svg)

| Object type | Objects (records) |
|---|---|
| Nodes | `game` (1,311), `player` (492), `referee` (67), `coach` (34), `executive` (32), `team` (30), `series` (15), `all_star_game` (1) |
| Edges | `plays_in_game` (27,630), `presides` (3,932), `competes_in_game` (2,622), `plays_for` (575), `is_part_of_series` (81), `coaches` (34), `manages` (32), `plays_in_all_star_game` (24), `presides_all_star_game` (3) |

## star-wars

**Star Wars** · Graph

A pure graph dataset built from the public SWAPI (Star Wars API) data covering the six-film Skywalker saga — the original and prequel trilogies, episodes I to VI. It describes the films and the screen characters, planets, species, vehicles and starships that appear in them, along with each character’s homeworld and species and who pilots which craft. Two edges are heterogeneous, connecting more than one type of vertex.

![Schema of the star-wars demo database](https://www.coradb.ai/manual/_astro/star-wars-schema.DdAN9dP1.svg)

| Object type | Objects (records) |
|---|---|
| Nodes | `screen_character` (82), `planet` (60), `vehicle` (39), `species` (37), `starship` (36), `film` (6) |
| Edges | `appeared_in` (372), `homeworld` (118), `of` (78), `pilot` (43) |
