Question: Who was nominated for an Academy Award for Best Picture for The Greatest Show on Earth?
Choices: Cecil B. DeMille
Dean Cundey
Sarah Polley
Kurt Luedtke
Ryuichi Sakamoto
Nicholas Pileggi
Jerry Wunderlich
Paul Engelen
John Briley
Michael Herbick
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Greatest Show on Earth" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?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: The Greatest Show on Earth
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee
Answer: Cecil B. DeMille