A sample cypher query for Neo4J using the DrWho dataset
✓ Published0🌍 Public
CCliffordAnderson
Last edited Mar 15, 2013
Created on Mar 15, 2013
This example demonstrates a character relationship query on the Doctor Who universe using the Cypher query language in Neo4j. It shows how the query identifies characters who are simultaneously allies of the Doctor and enemies of the Doctor, revealing a nuanced social dynamic. The visualization relies on Neo4j’s graph traversal capabilities, with the query starting at the Doctor node and traversing `ALLY_OF` and `ENEMY_OF` relationships to return connected character pairs. The rendering approach is not shown in the code, but the dataset originates from a public gist by CliffordAnderson, and the visualization would typically use a graph-based front-end library to display nodes and edges.
AI-generated description