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