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