Question: Which movie is longer, Volver or Speed (the one whose composer is Pritam Chakraborty)?
Choices:
Talk to Her
Curse of the Golden Flower
The Fifth Element
Training Day
The Hunchback of Notre Dame
Speed
Rebecca
Volver
Pleasantville
The Towering Inferno
Answer: Volver
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Volver" .  } UNION { ?e <pred:name> "Speed" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Pritam Chakraborty" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Volver
function: Find
inputs: Pritam Chakraborty
function: Relate
dependencies: 1
inputs: composer
backward
function: Find
inputs: Speed
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater