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