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