Question: Which is shorter, The Bodyguard distributed by Metro-Goldwyn-Mayer or Exodus that is designed by Richard Day?
Choices: My-HiME
The Polar Express
The Bodyguard
Code Geass
Ponyo on the Cliff by the Sea
Exodus
Anastasia
Wonder Woman
Magic Knight Rayearth
Superman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Bodyguard" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .   } UNION { ?e <pred:name> "Exodus" . ?e <production_designer> ?e_2 . ?e_2 <pred:name> "Richard Day" .  } ?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: The Bodyguard
function: And
dependencies: 1
2
function: Find
inputs: Richard Day
function: Relate
dependencies: 4
inputs: production designer
backward
function: Find
inputs: Exodus
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: The Bodyguard