Question: Which show had fewer episodes, Late Show with David Letterman or A Pup Named Scooby-Doo?
Choices:
Robot Chicken
Late Show with David Letterman
Bleak House
Phineas and Ferb
Saturday Night's Main Event
Six Feet Under
Seinfeld
American Horror Story
Game of Thrones
A Pup Named Scooby-Doo
Program:
function: Find
inputs: Late Show with David Letterman
function: Find
inputs: A Pup Named Scooby-Doo
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Late Show with David Letterman" .  } UNION { ?e <pred:name> "A Pup Named Scooby-Doo" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: A Pup Named Scooby-Doo