Question: Which movie is shorter, Eastern Promises or Tom Jones (the one that was nominated for Academy Award for Best Original Score)?
Choices: Curse of the Golden Flower
The Towering Inferno
Rebecca
The Fifth Element
Talk to Her
Eastern Promises
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
Tom Jones
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eastern Promises" .  } UNION { ?e <pred:name> "Tom Jones" . ?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
Program:
function: Find
inputs: Eastern Promises
function: Find
inputs: Academy Award for Best Original Score
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Tom Jones
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: Eastern Promises