Question: Which movie is longer, The Last Emperor (the one whose production company is Columbia Pictures) or Singin' in the Rain?
Choices: Curse of the Golden Flower
The Last Emperor
The Fifth Element
Training Day
Talk to Her
Pleasantville
The Towering Inferno
A Prairie Home Companion
Rebecca
Singin' in the Rain
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Last Emperor" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Columbia Pictures" .   } UNION { ?e <pred:name> "Singin' in the Rain" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Columbia Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Last Emperor
function: And
dependencies: 1
2
function: Find
inputs: Singin' in the Rain
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: The Last Emperor