Question: What series has more episodes, America's Got Talent or Comic Relief Does Fame Academy?
Choices:
Six Feet Under
Phineas and Ferb
Robot Chicken
Comic Relief Does Fame Academy
America's Got Talent
Bleak House
Saturday Night's Main Event
American Horror Story
Game of Thrones
Dancing with the Stars
Answer: America's Got Talent
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "America's Got Talent" .  } UNION { ?e <pred:name> "Comic Relief Does Fame Academy" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: America's Got Talent
function: Find
inputs: Comic Relief Does Fame Academy
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
greater