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