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