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