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