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