Question: Does Con Air or A Star Is Born, with director of photography Robert L. Surtees, have a longer running time?
Choices:
The Towering Inferno
Pleasantville
Con Air
The Fifth Element
Rebecca
Curse of the Golden Flower
A Prairie Home Companion
A Star Is Born
Training Day
Talk to Her
Program:
function: Find
inputs: Con Air
function: Find
inputs: Robert L. Surtees
function: Relate
dependencies: 1
inputs: director of photography
backward
function: Find
inputs: A Star Is Born
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Con Air" .  } UNION { ?e <pred:name> "A Star Is Born" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> "Robert L. Surtees" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: A Star Is Born