Question: WHich one has more seasons, Animaniacs (the one that has Jess Harnell as a voice actor) or Crash (the one whose duration is 45 minutes) ?
Choices:
South Park
Tiny Toon Adventures
The Cleveland Show
Phineas and Ferb
Animaniacs
Robot Chicken
Batman Beyond
American Dad!
Aladdin
The Venture Bros.
Program:
function: Find
inputs: Jess Harnell
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Animaniacs
function: And
dependencies: 1
2
function: Find
inputs: Crash
function: FilterNum
dependencies: 4
inputs: duration
45 minute
=
function: SelectBetween
dependencies: 3
5
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Animaniacs" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Jess Harnell" . } UNION { ?e <pred:name> "Crash" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "45"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Animaniacs