Question: Which one out of Legends of the Fall or The Best Exotic Marigold Hotel has a greater duration?
Choices:
The Fifth Element
Talk to Her
Legends of the Fall
The Towering Inferno
A Prairie Home Companion
The Hunchback of Notre Dame
Pleasantville
Training Day
Rebecca
The Best Exotic Marigold Hotel
Answer: Legends of the Fall
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Legends of the Fall" .  } UNION { ?e <pred:name> "The Best Exotic Marigold Hotel" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Legends of the Fall
function: Find
inputs: The Best Exotic Marigold Hotel
function: SelectBetween
dependencies: 0
1
inputs: duration
greater