Question: Which movie is longer, Mao's Last Dancer or Star Trek Ⅴ: The Final Frontier?
Choices:
Talk to Her
The Towering Inferno
Mao's Last Dancer
Training Day
The Fifth Element
Star Trek Ⅴ: The Final Frontier
Rebecca
The Hunchback of Notre Dame
Pleasantville
A Prairie Home Companion
Answer: Mao's Last Dancer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mao's Last Dancer" .  } UNION { ?e <pred:name> "Star Trek Ⅴ: The Final Frontier" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mao's Last Dancer
function: Find
inputs: Star Trek Ⅴ: The Final Frontier
function: SelectBetween
dependencies: 0
1
inputs: duration
greater