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