Question: Which one is shorter, Dallas (the one whose director of photography is Ernest Haller) or Iris (the one whose producer is Scott Rudin) ?
Choices: Pleasantville
Iris
Dallas
Talk to Her
Curse of the Golden Flower
The Towering Inferno
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dallas" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> "Ernest Haller" .   } UNION { ?e <pred:name> "Iris" . ?e <producer> ?e_2 . ?e_2 <pred:name> "Scott Rudin" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ernest Haller
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: Dallas
function: And
dependencies: 1
2
function: Find
inputs: Scott Rudin
function: Relate
dependencies: 4
inputs: producer
backward
function: Find
inputs: Iris
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Iris