Question: What character or role did Ian McKellen play in Gods and Monsters?
Choices:
William Shakespeare
Mr. Incredible
Antonio Salieri
Barbara Gordon
Daredevil
Jamal Malik
Franz-Otto Dietrich
James Whale
Bob Zmuda
Garrick Ollivander
Answer: James Whale
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Gods and Monsters" . ?e_2 <pred:name> "Ian McKellen" . ?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: Gods and Monsters
function: Find
inputs: Ian McKellen
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role