Question: Which one has more seasons, Hercules (with Diedrich Bader as a voice actor) or WCW Monday Nitro ?
Choices:
American Horror Story
WCW Monday Nitro
Hercules
Game of Thrones
Phineas and Ferb
Six Feet Under
Bleak House
Dancing with the Stars
Saturday Night's Main Event
Robot Chicken
Program:
function: Find
inputs: Diedrich Bader
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Find
inputs: WCW Monday Nitro
function: SelectBetween
dependencies: 3
4
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hercules" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Diedrich Bader" .   } UNION { ?e <pred:name> "WCW Monday Nitro" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: WCW Monday Nitro