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