Question: Which movie is shorter, Guys and Dolls (the one whose distributor is Metro-Goldwyn-Mayer) or Over the Top?
Choices: Guys and Dolls
Curse of the Golden Flower
The Towering Inferno
Over the Top
Training Day
Rebecca
A Prairie Home Companion
Pleasantville
The Fifth Element
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Guys and Dolls" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .   } UNION { ?e <pred:name> "Over the Top" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Guys and Dolls
function: And
dependencies: 1
2
function: Find
inputs: Over the Top
function: SelectBetween
dependencies: 3
4
inputs: duration
less
Answer: Over the Top