Question: Which movie is shorter, Marie Antoinette (the one whose production company is Metro-Goldwyn-Mayer) or A Time to Kill?
Choices:
The Towering Inferno
Curse of the Golden Flower
Pleasantville
The Fifth Element
A Time to Kill
Rebecca
A Prairie Home Companion
Talk to Her
Marie Antoinette
Training Day
Answer: A Time to Kill
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Marie Antoinette" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .   } UNION { ?e <pred:name> "A Time to Kill" .  } ?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: Marie Antoinette
function: And
dependencies: 1
2
function: Find
inputs: A Time to Kill
function: SelectBetween
dependencies: 3
4
inputs: duration
less