Question: Which is shorter, Basic Instinct or Rachel Getting Married?
Choices:
Rebecca
A Prairie Home Companion
Training Day
The Fifth Element
Basic Instinct
Rachel Getting Married
The Towering Inferno
Pleasantville
Curse of the Golden Flower
Talk to Her
Program:
function: Find
inputs: Basic Instinct
function: Find
inputs: Rachel Getting Married
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Basic Instinct" .  } UNION { ?e <pred:name> "Rachel Getting Married" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rachel Getting Married