Skip to content

Latest commit

 

History

History
116 lines (84 loc) · 3.17 KB

README.adoc

File metadata and controls

116 lines (84 loc) · 3.17 KB
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.