Question: What is the role of Michael Caine in The Dark Knight Rises?
Choices:
Elizabeth Swann
John "Hannibal" Smith
General Pushkin
Madeleine Forestier
Alfred Pennyworth
Mr. Fox
Moaning Myrtle
Doug Ross
Maximus
Wiggins
Program:
function: Find
inputs: The Dark Knight Rises
function: Find
inputs: Michael Caine
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Dark Knight Rises" . ?e_2 <pred:name> "Michael Caine" . ?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: Alfred Pennyworth