Question: Bob Hoskins was cast as which character on Hook?
Choices:
Christopher Marlowe
Balian of Ibelin
Doctor Octopus
Iago
Granny
Miranda Bailey
Raoul Silva
Bruce Banner
Mr. Smee
Matt Hooper
Answer: Mr. Smee
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hook" . ?e_2 <pred:name> "Bob Hoskins" . ?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: Hook
function: Find
inputs: Bob Hoskins
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role