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