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