Question: Which show has more seasons, The A-Team (which is presented in the English language) or The Biggest Loser?
Choices:
Seinfeld
The A-Team
American Horror Story
Six Feet Under
Dancing with the Stars
The Biggest Loser
Robot Chicken
Game of Thrones
Bleak House
Phineas and Ferb
Answer: The Biggest Loser
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The A-Team" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "The Biggest Loser" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: The A-Team
function: And
dependencies: 1
2
function: Find
inputs: The Biggest Loser
function: SelectBetween
dependencies: 3
4
inputs: number of seasons
greater