Question: Which is shorter, The Three Musketeers (produced by Metro-Goldwyn-Mayer) or The Lives of Others)?
Choices:
The Lives of Others
Curse of the Golden Flower
The Three Musketeers
The Hunchback of Notre Dame
The Towering Inferno
The Fifth Element
A Prairie Home Companion
Talk to Her
Pleasantville
Training Day
Answer: The Three Musketeers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Three Musketeers" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .   } UNION { ?e <pred:name> "The Lives of Others" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: Find
inputs: The Lives of Others
function: SelectBetween
dependencies: 3
4
inputs: duration
less