Module 2
Working with Virtual Graph on Snowflake
In this module you will generate the fraud ring dataset in Snowflake, connect Neo4j Virtual Graph to it and run Full definition for Cypher (opens in a new tab)Neo4j'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. queries to detect fraud rings.
You will learn how Snowpark handles data generation, how to map the schema manually in Virtual Graph and how to write and interpret fixed-hop Cypher ring detection queries against a Snowflake backend.
Notebooks
Download the notebooks from the course repository.
- The dataset is generated by
01_dataset_generator_sfnotebook, which runs inside the warehouse. - The SQL baseline queries are demonstrated in the
02_sql_baseline_sfnotebook. - The Cypher cheat sheet and ground truth validation live in the
03_cypher_reference_sfnotebook.
These notebooks are provided to help you complete the labs.