Question: Does The Witches of Eastwick (whose director of photography is Vilmos Zsigmond) or The Sand Pebbles have the longer runtime?
Choices:
The Towering Inferno
The Sand Pebbles
Rebecca
Talk to Her
Curse of the Golden Flower
The Fifth Element
The Witches of Eastwick
Training Day
The Hunchback of Notre Dame
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: The Sand Pebbles
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
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> "The Sand Pebbles" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Sand Pebbles