Cypher examples for Coderfaire
✓ Published0🌍 Public
CCliffordAnderson
Last edited Sep 20, 2014
Created on Sep 20, 2014
These examples show how Cypher queries progressively explore Kevin Bacon’s acting network, from direct movie matches to multi-hop co-actor paths and even a four-degree link to Billy Crystal. The visualizations rely on the Neo4j Browser’s built-in graph rendering, which uses d3.forceSimulation for node positioning and link layout. Each query returns nodes and relationships that are drawn as labeled circles and directed edges, with actor names displayed when explicitly returned. The data comes from the gist’s embedded property-graph structure, with the final queries using variable-length path patterns to capture entire connection chains.
AI-generated description