Question: Were there more seasons in Sonic the Hedgehog distributed by Walt Disney Studios Motion Pictures or Futurama that uses William Shatner as a voice actor?
Choices: American Dad!
Aladdin
The Cleveland Show
The Venture Bros.
Sonic the Hedgehog
Tiny Toon Adventures
Futurama
South Park
Robot Chicken
Phineas and Ferb
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sonic the Hedgehog" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Walt Disney Studios Motion Pictures" .   } UNION { ?e <pred:name> "Futurama" . ?e <voice_actor> ?e_2 . ?e_2 <pred:name> "William Shatner" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Sonic the Hedgehog
function: And
dependencies: 1
2
function: Find
inputs: William Shatner
function: Relate
dependencies: 4
inputs: voice actor
backward
function: Find
inputs: Futurama
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of seasons
greater
Answer: Futurama