advancedTop 30 Scenario-Based Questions
Design a fraud detection system using Neo4j to identify suspicious account networks.
Graph traversal for fraud: 1) Data model: (:Account)-[:TRANSFERS_TO {amount, date}]->(:Account), (:Account)-[:OWNED_BY]->(:Person), (:Person)-[:SHARES_DEVICE {deviceId}]->(:Person). 2) Ring detection (circular transfers): MATCH cycle=(a:Account)-[:TRANSFERS_TO*3..7]->(a) WHERE all(r IN rels(cycle) WHERE r.amount > 1000) RETURN nodes(cycle). 3) Shared device fraud: MATCH (p1:Person)-[:SHARES_DEVICE
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full Databases Mastery library.
Design a fraud detection system using Neo4j to identify suspicious account networks.