Question: Which show has more seasons, Spider-Man (the one that is originally aired on American Broadcasting Company) or Going My Way (the one that is originally aired on American Broadcasting Company)?
Choices: Saturday Night's Main Event
Going My Way
Six Feet Under
Bleak House
Seinfeld
Robot Chicken
Phineas and Ferb
American Horror Story
Spider-Man
Dancing with the Stars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Spider-Man" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "American Broadcasting Company" .   } UNION { ?e <pred:name> "Going My Way" . ?e <original_network> ?e_2 . ?e_2 <pred:name> "American Broadcasting Company" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Spider-Man
function: And
dependencies: 1
2
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 4
inputs: original network
backward
function: Find
inputs: Going My Way
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of seasons
greater
Answer: Spider-Man