Question: Which movie is shorter, The Messenger (the one that was nominated for National Society of Film Critics Award for Best Supporting Actress) or You've Got Mail?
Choices:
The Towering Inferno
A Prairie Home Companion
Curse of the Golden Flower
Training Day
You've Got Mail
The Hunchback of Notre Dame
The Messenger
Rebecca
Pleasantville
Talk to Her
Program:
function: Find
inputs: National Society of Film Critics Award for Best Supporting Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Messenger
function: And
dependencies: 1
2
function: Find
inputs: You've Got Mail
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Messenger" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "National Society of Film Critics Award for Best Supporting Actress" .   } UNION { ?e <pred:name> "You've Got Mail" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Messenger