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