Question: Does Prison Break (that has 4 seasons) or Spider-Man (that is originally aired on the American Broadcasting Company) have more episodes?
Choices: Saturday Night's Main Event
Six Feet Under
American Horror Story
Spider-Man
Game of Thrones
Bleak House
Phineas and Ferb
Seinfeld
Dancing with the Stars
Prison Break
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Prison Break" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4"^^xsd:double . } UNION { ?e <pred:name> "Spider-Man" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "American Broadcasting Company" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Prison Break
function: FilterNum
dependencies: 0
inputs: number of seasons
4
=
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 2
inputs: original network
backward
function: Find
inputs: Spider-Man
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
greater
Answer: Prison Break