Question: Which one, The Stand (the one whose number of episodes is 4) or Dumb and Dumber (the one that is originally aired on American Broadcasting Company), has the greater number of episodes?
Choices: Game of Thrones
Bleak House
Dumb and Dumber
Six Feet Under
Seinfeld
Dancing with the Stars
Robot Chicken
Phineas and Ferb
American Horror Story
The Stand
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Stand" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4"^^xsd:double . } UNION { ?e <pred:name> "Dumb and Dumber" . ?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: The Stand
function: FilterNum
dependencies: 0
inputs: number of episodes
4
=
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 2
inputs: original network
backward
function: Find
inputs: Dumb and Dumber
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
greater
Answer: Dumb and Dumber