Question: Which has more episodes, The Boondocks or Sonic the Hedgehog, distributed by Walt Disney Studios Motion Pictures?
Choices: Tiny Toon Adventures
The Cleveland Show
Batman Beyond
Sonic the Hedgehog
The Venture Bros.
American Dad!
Robot Chicken
The Boondocks
Phineas and Ferb
South Park
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Boondocks" .  } UNION { ?e <pred:name> "Sonic the Hedgehog" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Walt Disney Studios Motion Pictures" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Boondocks
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 1
inputs: distributor
backward
function: Find
inputs: Sonic the Hedgehog
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
greater
Answer: The Boondocks