Course

Neo4j Virtual Graph with Databricks

Run Cypher graph queries against your Databricks data without moving it

35 minutes8 lessons across 2 modules
About this lab

In this 35-minute lab, you will learn

In this lab you will learn how to use Neo4j Virtual Graph to run CypherNeo4j's implementation of GQL, the ISO standard query language for graph databases. It is declarative: you describe the pattern to find, and the database decides how to find it. graph queries directly against financial transaction data stored in Databricks - without moving or copying that data.

You will work with a synthetic fraud ring dataset and discover how a few lines of Cypher can surface circular transaction patterns that would require tens of lines of SQL and significant query engineering to find.

Prerequisites: Familiarity with SQL and basic understanding of relational databases. No prior graph or Cypher experience required.

  • The Problem with SQL for Graph Patterns

    Understand why recursive CTEs and self-joins struggle with circular, multi-hop transaction patterns.

  • How Virtual Graph Works

    Learn the zero-copy architecture that lets you run Cypher directly against Databricks data.

  • Thinking in Graphs

    Map relational tables to a graph model and read your first Cypher MATCH pattern.

  • Generating and Mapping the Dataset

    Create the fraud ring dataset in Databricks and configure the Virtual Graph schema mapping.

  • Running Cypher Queries

    Write and run fixed-hop ring detection queries against Databricks via Virtual Graph.