Skip to content

neo4j-graph-examples/wwc2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wwc2019 logo

Women’s World Cup 2019 Graph Example

Description: Explore the data behind the Women’s World Cup with our World Cup Graph

model
Figure 1. Model
example
Figure 2. Example
Example Query:
MATCH (t:Tournament {year: $year})<-[:PARTICIPATED_IN]-(team)
RETURN team.name as team

Setup

This is for Neo4j version: 3.5,4.0

Required plugins: apoc

Load graph data via the following:

Data files: import/*.json

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

Dump file: data/wwc2019-40.dump

  • Drop the file into the Files section of a project in Neo4j Desktop. Then choose the option to Create new DBMS from dump option from the file options.

  • Use the neo4j-admin tool to load data from the command line with the command below.

bin/neo4j-admin load --from data/wwc2019-40.dump [--database "database"]

Data load script: scripts/wwc2019.cypher

bin/cypher-shell -u neo4j -p "password" -f scripts/wwc2019.cypher [-d "database"]

Or import in Neo4j Browser by dragging or pasting the content of scripts/wwc2019.cypher.

Code Examples

Feedback

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

About

Explore the data behind the Women's World Cup with our World Cup Graph.

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •