Question: Which movie is shorter, Quantum of Solace or Small Soldiers?
Choices:
Talk to Her
Rebecca
Curse of the Golden Flower
A Prairie Home Companion
The Fifth Element
The Hunchback of Notre Dame
Pleasantville
Quantum of Solace
Training Day
Small Soldiers
Program:
function: Find
inputs: Quantum of Solace
function: Find
inputs: Small Soldiers
function: SelectBetween
dependencies: 0
1
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Quantum of Solace" .  } UNION { ?e <pred:name> "Small Soldiers" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Small Soldiers