Question: Michael Douglas was cast as which character in the 20th Century Fox-distributed Wall Street?
Choices: Lloyd Christmas
Feyd-Rautha
Gordon Gekko
The Joker
Blackbeard
Mutt Williams
Justin Hammer
Egon Spengler
Sayid Jarrah
Poison Ivy
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Wall Street" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "20th Century Fox" . ?e_2 <pred:name> "Michael Douglas" . ?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: 20th Century Fox
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Wall Street
function: And
dependencies: 1
2
function: Find
inputs: Michael Douglas
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
Answer: Gordon Gekko