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