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