Question: What is Mickey Rourke's role in Iron Man 2 shot in Los Angeles?
Choices:
Nicholas Porter Earp
Ivan Vanko
Alexander the Great
Colonel Cathcart
Julius Caesar
Delta Force team member
David Spritz
Robert F. Kennedy
Uhura
Apollo Creed
Answer: Ivan Vanko
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Iron Man 2" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "Mickey Rourke" . ?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: filming location
backward
function: Find
inputs: Iron Man 2
function: And
dependencies: 1
2
function: Find
inputs: Mickey Rourke
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role