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