Skip to content

neo4j-graph-examples/star-wars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

star wars logo

Star Wars Graph Example

Description: Exploring a Star Wars Dataset in Neo4j

model
Figure 1. Model
example
Figure 2. Example
Example Query:
MATCH (s:Species)<-[:OF]-(c:Character)-[:HOMEWORLD]->(p:Planet)
WHERE s.name = $species
RETURN DISTINCT p.name as planet

Setup

This is for Neo4j version: 4.4

Rendered guide available via: :play https://guides.neo4j.com/star-wars/index.html

Load graph data via the following:

Data files: import/*.csv

Import flat files (csv, json, etc) using Cypher’s LOAD CSV, APOC library, or other methods.

Zipe file

Download the zip file star-wars.zip and add it as "project from file" to Neo4j Desktop.

Code Examples

Feedback

Feel free to submit issues or pull requests for improvement on this repository.

About

Exploring the Kaggle Star Wars Dataset in Neo4j

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published