Question: Which show has fewer episodes, Top Chef or Degrassi: The Next Generation?
Choices:
Degrassi: The Next Generation
American Horror Story
Seinfeld
Game of Thrones
Phineas and Ferb
Saturday Night's Main Event
Top Chef
Bleak House
Six Feet Under
Robot Chicken
Program:
function: Find
inputs: Top Chef
function: Find
inputs: Degrassi: The Next Generation
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Top Chef" .  } UNION { ?e <pred:name> "Degrassi: The Next Generation" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Top Chef