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