In this project, matches and teams of the English Premier League was given in a CSV format. Loading the CSV into Neo4j was designed and implemented along with a variety of useful queries.
All queries are heavily commented.
- On an empty graph of your selection, click "Manage"
- Click "Open Folder" on top
- Copy and paste the CSV file into the "import" folder
- Open the Neo4j Browser
- Copy and paste the query from the "csvLoad.cypher" file into the command line and run it
- The following numbers should come up as a result of the query
- Displays how many matches were played in the EPL
- Displays details of all matches involved "Manchester United FC".
- Displays all the teams that played the EPL matches in the season.
- Displays the team with the most "win" in January.
- Displays the top five teams that have the best scoring power.
- Displays the top five teams that have the worst defending.
- Displays top five teams that have the best winning records.
- Displays top five teams with best half time result.
- Which teams had the most "loss"?
- Displays the team with the most consecutive "win".
Considering the queries that are requested and the analysis of the CSV, the following design was decided:
The advantage of this design, is that it is straightforward, easily maintainable and easily queried. It would only be needed to add matches if this graph held all the records for every EPL and teams only in case there were new teams in the league.

