Question: Who was the Academy Award for Best Supporting Actor nominee for Ed Wood, produced by Touchstone Pictures?
Choices:
Michael Mills
Jennifer Hudson
Martin Landau
Hank Moonjean
Daniel Lupi
Paul Tamasy
Erik-Jan de Boer
John Bell
Charles Knode
Nicky Ryan
Answer: Martin Landau
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ed Wood" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Touchstone Pictures" . ?e_2 <pred:name> "Academy Award for Best Supporting Actor" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Program:
function: Find
inputs: Touchstone Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Ed Wood
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Supporting Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee