Question: Which show has more episodes, Dancing with the Stars (the one whose original language is English) or Mad TV?
Choices:
American Horror Story
Mad TV
Phineas and Ferb
Dancing with the Stars
Babylon 5
Six Feet Under
Seinfeld
Robot Chicken
Saturday Night's Main Event
Bleak House
Answer: Mad TV
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dancing with the Stars" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "Mad TV" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Dancing with the Stars
function: And
dependencies: 1
2
function: Find
inputs: Mad TV
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
greater