Question: Which movie is shorter, Good Night, and Good Luck. or Hudson Hawk?
Choices:
The Towering Inferno
A Prairie Home Companion
Training Day
The Hunchback of Notre Dame
Pleasantville
Rebecca
The Fifth Element
Good Night, and Good Luck.
Hudson Hawk
Curse of the Golden Flower
Program:
function: Find
inputs: Good Night, and Good Luck.
function: Find
inputs: Hudson Hawk
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Good Night, and Good Luck." .  } UNION { ?e <pred:name> "Hudson Hawk" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Good Night, and Good Luck.