
Learn neo4j and cypher through a Game of Thrones real-world dataset, from setup to complex queries, building practical graph models and real-time insights.
Maximize your learning potential by adjusting playback speed, using the simulator, and providing ratings. Contact the instructor via the Euterpe platform or LinkedIn for feedback, questions, and direct messages.
This video shows how to install the Neo4j Development Environment on MAC.
The windows installation is very similar and requires a series of only "next" steps.
Create nodes and labeled nodes using the create keyword, specify properties in curly brackets, and define relationships with direction to build and query a graph, returning results.
Create nodes with properties, apply labels to nodes, and connect them with relationships in a Neo4j graph database, illustrated by House Lannister and House Stark.
Learn to use the set command to change or add properties on nodes and relationships in Neo4j, demonstrated through updating John Snow's name and adding a title.
Execute a command to delete all nodes and edges in the current graph, resulting in an empty database.
Load the Game of Thrones betrayals data from a CSV into a directed graph, modeling characters as nodes (name, house) and betrayals as edges (title, relationship, consequences, geography).
Practice complex queries on a Game of Thrones graph, counting betrayals as relationships and using distinct to avoid duplicates. Learn pattern matching and pitfalls while tracing betrayals of Ned Stark.
Learn to write complex Neo4j queries on a Game of Thrones dataset, identifying top betrayers and victims, using with clauses, aggregation, ordering, limiting, and data propagation.
Neo4j, Cypher
Python
Flask
Py2neo
OGM (Object Graph Mapper)
Real World live server
REST API
In this section we will set up our development environment for our REST project.
We will create a virtual environment using pipenv, install the flask micro backend framework (to build our server) and install the py2neo package which will help us communicate with our Neo4j Database.
In this video we will be creating a boilerplate flask API endpoints and prepare our neo4j database for our project
Flask
Py2neo
Connecting Neoj with Flask Project
Here we will connect our neo4j graph database to our python flask code, using the py2neo package, and we will start querying our database with raw cypher queries (through python code)
This lecture covers:
Flask
Py2neo
Cypher queries
This lecture covers:
Flask
Py2neo
Cypher queries
Introduction to Object Graph Mappers and Object Mapper in general.
In this video we will refactor our flask project and split it into 2 files:
api_v1.py (Will hold the endpoints using RAW Cypher queries)
api_v2.py (Will hold the endpoints using the Object Graph Mapper queries)
To do this, we will using the flask concept called blueprints
(note that this is only a preparation for the next video, where we will be writing our v2 endpoints and we will be using the OGM to query our neo4j grpah db, instead of using raw cypher querires)
How to Match nodes with py2neo OGM
NodeMatcher
NodeMatch
Learn to use the py2neo object graph mappers with NodeMatcher to expose a v2 rest API for characters, including id lookup, error handling, and property-based filtering.
How to automatically set environment variables in pipenv
.env file
How to Run Neo4j in Docker
Welcome to the complete neo4j-Cypher master course – GAMES OF THRONES EDITION.
This fully updated course is the most comprehensive neo4j course to help guide you from zero to hero in learning neo4j.
I designed this course to not only be your best resource for learning neo4j but also be the most enjoyable coding course out there- so the entire course is based on a fascinating game of thrones datasets.
Neo4j is simple; learning how to be proficient with neo4j doesn't require you to take courses that are 10 hours long.
You can learn and apply the gist and most relevant and commonly used features of neo4j in under 2 hours!
What you'll learn in the course:
What are Graph Databases, NoSQL, when to use graph databases and not SQL
How to set up a complete Neo4j development environment
Basic Cypher Programming language (Suitable for absolute beginners or developers who need some recap)
Data modeling patterns
Complex queries that require a deep understanding of Cypher
Importing and loading massive datasets and working with graph databases
Build a real-world Python web-server that queries neo4j graph databases
Neo4j python driver- py2neo
Flask Microframework for web-servers
Create REST API for game of thrones dataset
Usage of graphs answering cloud cyber security questions (bonus)
All along the way, you'll have fully interactive exercises to test your understanding, along with quick check-ins with built-in quizzes to make sure you fully understand all the material.
You will have a Practical foundation to build your application using Cypher and Gain real-time insights from your data.
Unique Features of this course
Learn Neo4j by doing and with exciting challenges- Game of Thrones Datasets
Complex Data Set and queries - We practice complicated queries on massive Data Sets of Game of Thrones
Real-World Examples and best practices of neo4j (This is not just a beginner course)