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