Question: Which movie is longer, The Unbearable Lightness of Being or Quantum of Solace?
Choices:
The Towering Inferno
Rebecca
Training Day
Talk to Her
Quantum of Solace
Curse of the Golden Flower
A Prairie Home Companion
Pleasantville
The Unbearable Lightness of Being
The Fifth Element
Program:
function: Find
inputs: The Unbearable Lightness of Being
function: Find
inputs: Quantum of Solace
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Unbearable Lightness of Being" .  } UNION { ?e <pred:name> "Quantum of Solace" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Unbearable Lightness of Being