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