Question: Which movie is shorter, Knocked Up or Pearl Harbor?
Choices:
A Prairie Home Companion
Knocked Up
Curse of the Golden Flower
Pearl Harbor
Training Day
Rebecca
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
Pleasantville
Program:
function: Find
inputs: Knocked Up
function: Find
inputs: Pearl Harbor
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Knocked Up" .  } UNION { ?e <pred:name> "Pearl Harbor" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Knocked Up