Question: Does American Idol's English language version or Hollyoaks have more episodes?
Choices:
Six Feet Under
Game of Thrones
Hollyoaks
Dancing with the Stars
Phineas and Ferb
American Idol
Robot Chicken
American Horror Story
Bleak House
Seinfeld
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: American Idol
function: And
dependencies: 1
2
function: Find
inputs: Hollyoaks
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "American Idol" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "Hollyoaks" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hollyoaks