Question: Which movie is shorter, Smallville or Tenjho Tenge?
Choices:
Six Feet Under
Robot Chicken
Tenjho Tenge
Smallville
Dancing with the Stars
Phineas and Ferb
Seinfeld
Bleak House
American Horror Story
Saturday Night's Main Event
Program:
function: Find
inputs: Smallville
function: Find
inputs: Tenjho Tenge
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Smallville" .  } UNION { ?e <pred:name> "Tenjho Tenge" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tenjho Tenge