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