Question: For Halloween (the one that has William Forsythe as a cast member), what is Malcolm McDowell's character role as a cast member in the work?
Choices: Elizabeth II
Anna Karenina
Jumba Jookiba
Samuel Loomis
Lord Voldemort
Richard Webber
James P. Sullivan
Julius Caesar
Story
George Costanza
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Halloween" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "William Forsythe" . ?e_2 <pred:name> "Malcolm McDowell" . ?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: William Forsythe
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Halloween
function: And
dependencies: 1
2
function: Find
inputs: Malcolm McDowell
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
Answer: Samuel Loomis