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