Question: Which has more episodes, Stargate SG-1 or How I Met Your Mother?
Choices:
Six Feet Under
How I Met Your Mother
Stargate SG-1
Seinfeld
Bleak House
Game of Thrones
Dancing with the Stars
American Horror Story
Robot Chicken
Phineas and Ferb
Answer: Stargate SG-1
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stargate SG-1" .  } UNION { ?e <pred:name> "How I Met Your Mother" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Stargate SG-1
function: Find
inputs: How I Met Your Mother
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
greater