Question: For which project was Cecil B. DeMille the Academy Award nominee for Best Director?
Choices: Mad Men
A Madea Christmas
The Pursuit of Happyness
The Greatest Show on Earth
Chariots of Fire
Always & Forever
Bid Time Return
It's Always Fair Weather
Morning Phase
Atonement
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Cecil B. DeMille" . ?e_2 <pred:name> "Academy Award for Best Director" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Cecil B. DeMille
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work
Answer: The Greatest Show on Earth