Question: Which show has more episodes, Entertainment Tonight or How I Met Your Mother?
Choices:
Game of Thrones
Bleak House
American Horror Story
Six Feet Under
Entertainment Tonight
Seinfeld
Dancing with the Stars
Phineas and Ferb
How I Met Your Mother
Robot Chicken
Answer: Entertainment Tonight
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Entertainment Tonight" .  } 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: Entertainment Tonight
function: Find
inputs: How I Met Your Mother
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
greater