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