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