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