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