Question: Does Malcolm in the Middle or Sense and Sensibility (that originally aired on BBC One) have more episodes?
Choices:
Saturday Night's Main Event
Dancing with the Stars
Six Feet Under
American Horror Story
Malcolm in the Middle
Bleak House
Phineas and Ferb
Game of Thrones
Seinfeld
Robot Chicken
Answer: Malcolm in the Middle
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Malcolm in the Middle" .  } UNION { ?e <pred:name> "Sense and Sensibility" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "BBC One" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Malcolm in the Middle
function: Find
inputs: BBC One
function: Relate
dependencies: 1
inputs: original network
backward
function: Find
inputs: Sense and Sensibility
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
greater