Question: What is the character role of Ben Kingsley as a cast member in Iron Man 3?
Choices:
Linus Caldwell
Hatter Tarrant Hightopp
Mandarin
Barbara Gordon
Sam Witwicky
Sybill Trelawney
Lightning McQueen
Sosigenes of Alexandria
Guinevere
Billy Clanton
Program:
function: Find
inputs: Iron Man 3
function: Find
inputs: Ben Kingsley
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Iron Man 3" . ?e_2 <pred:name> "Ben Kingsley" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Mandarin