Question: Which movie is shorter, Gone with the Wind (the one that was nominated for Academy Award for Best Supporting Actress) or Scent of a Woman (the one that was nominated for Academy Award for Best Director)?
Choices: Scent of a Woman
Pleasantville
Curse of the Golden Flower
Gone with the Wind
The Towering Inferno
A Prairie Home Companion
Training Day
The Fifth Element
Talk to Her
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gone with the Wind" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Supporting Actress" .   } UNION { ?e <pred:name> "Scent of a Woman" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Director" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Supporting Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Gone with the Wind
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Scent of a Woman
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Scent of a Woman