Question: Which TV show has more seasons, Top Chef or Edge of Darkness (in English)?
Choices: Edge of Darkness
Bleak House
Phineas and Ferb
Top Chef
Saturday Night's Main Event
Robot Chicken
Game of Thrones
Seinfeld
Six Feet Under
Dancing with the Stars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Top Chef" .  } UNION { ?e <pred:name> "Edge of Darkness" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Top Chef
function: Find
inputs: English
function: Relate
dependencies: 1
inputs: language of work or name
backward
function: Find
inputs: Edge of Darkness
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
greater
Answer: Top Chef