Question: Which show has more episodes, Roots: The Next Generations or Sesame Street?
Choices:
Robot Chicken
American Horror Story
Sesame Street
Six Feet Under
Phineas and Ferb
Saturday Night's Main Event
Roots: The Next Generations
Game of Thrones
Seinfeld
Dancing with the Stars
Program:
function: Find
inputs: Roots: The Next Generations
function: Find
inputs: Sesame Street
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Roots: The Next Generations" .  } UNION { ?e <pred:name> "Sesame Street" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sesame Street