Question: Which is longer, Rush produced by Richard D. Zanuck or The Departed?
Choices:
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Rush
Rebecca
The Departed
Curse of the Golden Flower
The Fifth Element
Talk to Her
Training Day
Answer: The Departed
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rush" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Richard D. Zanuck" .   } UNION { ?e <pred:name> "The Departed" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Richard D. Zanuck
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Rush
function: And
dependencies: 1
2
function: Find
inputs: The Departed
function: SelectBetween
dependencies: 3
4
inputs: duration
greater