Question: Which movie is shorter, Saturday Night's Main Event or American Dad!?
Choices:
Tiny Toon Adventures
Batman Beyond
Aladdin
Phineas and Ferb
American Dad!
The Cleveland Show
South Park
Fantastic Four
Saturday Night's Main Event
The Venture Bros.
Program:
function: Find
inputs: Saturday Night's Main Event
function: Find
inputs: American Dad!
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saturday Night's Main Event" .  } UNION { ?e <pred:name> "American Dad!" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: American Dad!