Question: Which movie is shorter, I Heart Huckabees or Spellbound (the one that was nominated for Academy Award for Best Director)?
Choices:
Pleasantville
Training Day
The Hunchback of Notre Dame
The Towering Inferno
The Fifth Element
Rebecca
Spellbound
Talk to Her
I Heart Huckabees
Curse of the Golden Flower
Program:
function: Find
inputs: I Heart Huckabees
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Spellbound
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "I Heart Huckabees" .  } UNION { ?e <pred:name> "Spellbound" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Director" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: I Heart Huckabees