Question: Which movie is shorter, Heat (the one whose director of photography is Dante Spinotti) or Superbad?
Choices:
Heat
Rebecca
Pleasantville
Superbad
The Towering Inferno
Curse of the Golden Flower
The Fifth Element
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
Answer: Superbad
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Heat" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> "Dante Spinotti" .   } UNION { ?e <pred:name> "Superbad" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dante Spinotti
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: Heat
function: And
dependencies: 1
2
function: Find
inputs: Superbad
function: SelectBetween
dependencies: 3
4
inputs: duration
less