MERGE (anakin:Character {name:'Anakin Skywalker', alias:'Darth Vader', role:'Jedi Knight', status:'Turned', lightsaber:'Blue/Red'})
MERGE (obiwan:Character {name:'Obi-Wan Kenobi', role:'Jedi Master', status:'Alive', lightsaber:'Blue'})
MERGE (yoda:Character {name:'Yoda', role:'Grand Master', species:'Yoda’s species', status:'Alive'})
MERGE (palpatine:Character {name:'Palpatine', alias:'Darth Sidious', role:'Supreme Chancellor', affiliation:'Sith', status:'Alive'})
MERGE (padme:Character {name:'Padmé Amidala', role:'Senator', status:'Deceased', cause:'Childbirth'})
MERGE (grievous:Character {name:'General Grievous', species:'Kaleesh cyborg', role:'Military Leader', status:'Deceased'})
MERGE (dooku:Character {name:'Count Dooku', alias:'Darth Tyranus', role:'Sith Lord', status:'Deceased'})
MERGE (mace:Character {name:'Mace Windu', role:'Jedi Master', status:'Deceased', lightsaber:'Purple'})
MERGE (coruscant:Planet {name:'Coruscant', type:'City Planet', region:'Core Worlds'})
MERGE (mustafar:Planet {name:'Mustafar', type:'Lava Planet', region:'Outer Rim'})
MERGE (utapau:Planet {name:'Utapau', type:'Sinkhole Planet', region:'Outer Rim'})
MERGE (naboo:Planet {name:'Naboo', type:'Terrestrial', region:'Mid Rim'})
MERGE (jedi:Faction {name:'Jedi Order', alignment:'Light'})
MERGE (sith:Faction {name:'Sith', alignment:'Dark'})
MERGE (republic:Faction {name:'Galactic Republic', government:'Democracy'})
MERGE (separatists:Faction {name:'Separatist Alliance', goal:'Independence'})
MERGE (interceptor:Starship {name:'Jedi Interceptor', class:'Delta-7B', pilot:'Anakin'})
MERGE (invisible:Starship {name:'Invisible Hand', class:'Providence-class', commander:'Grievous'})
MERGE (order66:Event {name:'Order 66', type:'Clone Protocol', outcome:'Purge of Jedi'})
MERGE (duel:Event {name:'Duel on Mustafar', outcome:'Anakin defeated', date:'19 BBY'})
MERGE (anakin)-[:MEMBER_OF {start:'22 BBY'}]->(jedi)
MERGE (obiwan)-[:MEMBER_OF]->(jedi)
MERGE (yoda)-[:MEMBER_OF]->(jedi)
MERGE (mace)-[:MEMBER_OF]->(jedi)
MERGE (palpatine)-[:LEADS {title:'Dark Lord'}]->(sith)
MERGE (dooku)-[:MEMBER_OF]->(sith)
MERGE (grievous)-[:MEMBER_OF]->(separatists)
MERGE (padme)-[:MEMBER_OF]->(republic)
MERGE (anakin)-[:FROM]->(coruscant)
MERGE (padme)-[:FROM]->(naboo)
MERGE (palpatine)-[:FROM]->(naboo)
MERGE (grievous)-[:FROM]->(utapau)
MERGE (anakin)-[:FOUGHT_IN {scene:'Climactic Battle'}]->(duel)
MERGE (obiwan)-[:FOUGHT_IN]->(duel)
MERGE (dooku)-[:DIED_IN {method:'Beheaded'}]->(duel)
MERGE (palpatine)-[:INITIATED {code:'Execute Order 66'}]->(order66)
MERGE (mace)-[:DIED_IN {scene:'Palpatine’s Office'}]->(order66)
MERGE (yoda)-[:SURVIVED]->(order66)
MERGE (obiwan)-[:SURVIVED]->(order66)
MERGE (padme)-[:DIED_IN {cause:'Heartbreak'}]->(order66)
MERGE (grievous)-[:FOUGHT_IN]->(order66)
MERGE (duel)-[:HAPPENED_ON]->(mustafar)
MERGE (order66)-[:HAPPENED_ON]->(coruscant)
MERGE (interceptor)-[:USED_BY]->(anakin)
MERGE (invisible)-[:USED_BY]->(grievous)
MERGE (yoda)-[:MASTER_OF]->(obiwan)
MERGE (obiwan)-[:MASTER_OF]->(anakin)
MERGE (jedi)-[:ENEMY_OF]->(sith)
MERGE (republic)-[:ENEMY_OF]->(separatists)
MERGE (palpatine)-[:CHANCELLOR_OF {term:'32–19 BBY'}]->(republic)
MERGE (grievous)-[:COMMANDER_OF]->(separatists)
MERGE (anakin)-[:APPRENTICE_TO {secret:'true'}]->(palpatine)
MERGE (padme)-[:LOVES]->(anakin)
MERGE (anakin)-[:LOVES]->(padme)
MERGE (yoda)-[:FOUGHT]->(palpatine)
MERGE (anakin)-[:TURNED_ON]->(mace)
MERGE (palpatine)-[:MANIPULATED {tactic:'Fear of loss'}]->(anakin)
MERGE (mace)-[:CONFRONTED]->(palpatine)
MERGE (duel)-[:CHANGED {result:'Anakin becomes Vader'}]->(anakin)
MERGE (duel)-[:BURNED {injury:'Severe'}]->(anakin)
MERGE (grievous)-[:DEFEATED_BY {weapon:'Blaster'}]->(obiwan)
MERGE (dooku)-[:DEFEATED_BY {weapon:'Lightsaber'}]->(anakin)
MERGE (interceptor)-[:DEPLOYED_IN]->(coruscant)
MERGE (invisible)-[:CRASHED_ON]->(coruscant)
MERGE (yoda)-[:WARNED {about:'Palpatine'}]->(mace)
MERGE (obiwan)-[:FRIEND_OF]->(padme)
The graph represents the key characters, events, and factions from Revenge of the Sith in a visually hierarchical structure. At the center, Anakin Skywalker (Darth Vader) serves as the pivotal node, surrounded by key figures like Obi-Wan Kenobi, Palpatine (Darth Sidious), and major events such as the Duel on Mustafar and Order 66. The Jedi Order and Sith factions are placed around these central nodes, with Jedi Masters like Yoda and Mace Windu, and Sith Lords such as Count Dooku and General Grievous, extending outward. Important planets like Coruscant and Mustafar, as well as relationships like Padmé’s connection to Anakin, are also featured in the graph. Dotted relationships illustrate the influence, affiliations, and significant moments in the storyline.