Your challenge is to run the validation test plan from the previous lesson on your imported Northwind data.
Your Task
Using the Neo4j Query tool or Browser, run the validation queries from Lesson 4.1:
-
Node counts — Run MATCH (n) RETURN labels(n)[0] AS label, COUNT(*) AS count ORDER BY label and verify counts match: Customer 91, Order 830, Product 77, Category 8, Supplier 29, Employee 9, Shipper 3
-
Relationship counts — Run MATCH ()-[r]→() RETURN type(r) AS relationshipType, COUNT(*) AS count and confirm PLACED (830), CONTAINS (2155), and other relationship types have expected counts
-
Referential integrity — Run a query to find orphan orders: MATCH (o:Order) WHERE NOT (:Customer)-[:PLACED]→(o) RETURN count(o) AS orphanOrders (should return 0)
Validation Complete
Did you run the validation queries and confirm your node and relationship counts match the expected values?
-
✓ Yes, my import passed validation
-
❏ I found discrepancies and need to re-check my import
-
❏ I have not yet completed the import from the previous module
Hint
Run the count queries from the lesson (e.g. MATCH (n:Customer) RETURN count(n)) and compare with the expected values in the Northwind dataset.
Solution
If your counts match the expected values (91 Customers, 830 Orders, 77 Products, etc.), select "Yes, my import passed validation." If you see different counts, review your import mapping and re-run the import.
Summary
You validated your import by running node counts, relationship counts, and referential integrity checks. Your graph is ready for querying.