Graph Databases with Neo4j
Advanced · 30 minutes · 100 points
Dive deep into graph database concepts using Neo4j. In this hands-on lab, you will install and configure Neo4j, model a social network graph, write Cypher queries to traverse relationships, and analyze graph patterns using advanced query techniques. This lab is designed for engineers who want to understand graph data modeling and query optimization in a production-like environment.
What you’ll learn
- Install and configure a Neo4j graph database instance from scratch
- Model and populate a social network graph using nodes, relationships, and properties
- Write and execute Cypher queries including MATCH, CREATE, MERGE, and pattern matching
- Perform graph traversal and shortest path analysis using advanced Cypher constructs
- Create and verify indexes to optimize graph query performance
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- At least 2GB of free RAM for Neo4j
- Internet access to download Neo4j packages
Topics: neo4j, graph-database, cypher, nosql, data-modeling, graph-analytics, databases
Create a free account to start this lab.