Question: Is The Ghost Writer or Click the shorter of the two?
Choices:
The Towering Inferno
Pleasantville
Training Day
Talk to Her
The Hunchback of Notre Dame
Curse of the Golden Flower
Click
The Ghost Writer
Rebecca
A Prairie Home Companion
Program:
function: Find
inputs: The Ghost Writer
function: Find
inputs: Click
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Ghost Writer" .  } UNION { ?e <pred:name> "Click" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Click