Question: Which has more episodes, Robot Chicken or Pasadena whose narrative location is Los Angeles?
Choices:
South Park
Batman Beyond
Phineas and Ferb
Aladdin
American Dad!
Pasadena
The Venture Bros.
The Cleveland Show
Robot Chicken
Tiny Toon Adventures
Answer: Robot Chicken
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Robot Chicken" .  } UNION { ?e <pred:name> "Pasadena" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Robot Chicken
function: Find
inputs: Los Angeles
function: Relate
dependencies: 1
inputs: narrative location
backward
function: Find
inputs: Pasadena
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
greater