Question: Which movie is shorter, Trainspotting (the one whose composer is Damon Albarn) or Yes Man?
Choices:
Training Day
Trainspotting
Curse of the Golden Flower
The Fifth Element
A Prairie Home Companion
The Towering Inferno
Talk to Her
Yes Man
The Hunchback of Notre Dame
Rebecca
Program:
function: Find
inputs: Damon Albarn
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Trainspotting
function: And
dependencies: 1
2
function: Find
inputs: Yes Man
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Trainspotting" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Damon Albarn" .   } UNION { ?e <pred:name> "Yes Man" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Trainspotting