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