Question: Which movie is shorter, Wild at Heart or The Best Years of Our Lives?
Choices:
The Best Years of Our Lives
Training Day
A Prairie Home Companion
Talk to Her
Rebecca
The Towering Inferno
Pleasantville
Curse of the Golden Flower
Wild at Heart
The Hunchback of Notre Dame
Program:
function: Find
inputs: Wild at Heart
function: Find
inputs: The Best Years of Our Lives
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wild at Heart" .  } UNION { ?e <pred:name> "The Best Years of Our Lives" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wild at Heart