Question: Which one has more episodes, Star Trek: Deep Space Nine or Limitless (the one that has Ryan Kavanaugh as an executive producer)?
Choices:
Robot Chicken
Dancing with the Stars
Six Feet Under
Limitless
Saturday Night's Main Event
Phineas and Ferb
Game of Thrones
Bleak House
Seinfeld
Star Trek: Deep Space Nine
Program:
function: Find
inputs: Star Trek: Deep Space Nine
function: Find
inputs: Ryan Kavanaugh
function: Relate
dependencies: 1
inputs: executive producer
backward
function: Find
inputs: Limitless
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Trek: Deep Space Nine" .  } UNION { ?e <pred:name> "Limitless" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Ryan Kavanaugh" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Star Trek: Deep Space Nine