Question: Which has more seasons, Avatar: The Last Airbender (the one whose original language is English) or Phineas and Ferb?
Choices:
Robot Chicken
The Cleveland Show
South Park
Phineas and Ferb
Aladdin
Fantastic Four
Batman Beyond
Tiny Toon Adventures
American Dad!
Avatar: The Last Airbender
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Avatar: The Last Airbender
function: And
dependencies: 1
2
function: Find
inputs: Phineas and Ferb
function: SelectBetween
dependencies: 3
4
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Avatar: The Last Airbender" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "Phineas and Ferb" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Phineas and Ferb