Question: What was the role of Helen Bonham Carter in Terminator Salvation that took place in Los Angeles?
Choices: Son Goku
Michael Dawson
Tony Stark
Elliot Carver
Dolores Umbridge
Yakko Warner
Jabberwocky
Nurse Ratched
Serena Kogan
Edmund Tylney
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Terminator Salvation" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "Helena Bonham Carter" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Terminator Salvation
function: And
dependencies: 1
2
function: Find
inputs: Helena Bonham Carter
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
Answer: Serena Kogan