Question: Which one has more number of episodes betweenTwin Peaks (the one whose narrative location is Buenos Aires) or Animaniacs (the one that has Kath Soucie as a voice actor)?
Choices:
The Cleveland Show
Robot Chicken
American Dad!
Animaniacs
Batman Beyond
The Venture Bros.
Aladdin
Twin Peaks
South Park
Tiny Toon Adventures
Program:
function: Find
inputs: Buenos Aires
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Twin Peaks
function: And
dependencies: 1
2
function: Find
inputs: Kath Soucie
function: Relate
dependencies: 4
inputs: voice actor
backward
function: Find
inputs: Animaniacs
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Twin Peaks" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Buenos Aires" .   } UNION { ?e <pred:name> "Animaniacs" . ?e <voice_actor> ?e_2 . ?e_2 <pred:name> "Kath Soucie" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Animaniacs