Question: Which movie is shorter, On Golden Pond (the one that was nominated for Academy Award for Best Supporting Actress) or I Love You Phillip Morris?
Choices:
The Towering Inferno
Talk to Her
The Fifth Element
I Love You Phillip Morris
Pleasantville
A Prairie Home Companion
Curse of the Golden Flower
Training Day
On Golden Pond
Rebecca
Answer: I Love You Phillip Morris
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "On Golden Pond" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Supporting Actress" .   } UNION { ?e <pred:name> "I Love You Phillip Morris" .  } ?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: On Golden Pond
function: And
dependencies: 1
2
function: Find
inputs: I Love You Phillip Morris
function: SelectBetween
dependencies: 3
4
inputs: duration
less