Question: Which one has fewer seasons, Stargate SG-1 or Star Trek: The Next Generation (the one that is created by Gene Roddenberry)?
Choices: Six Feet Under
Star Trek: The Next Generation
Bleak House
Game of Thrones
American Horror Story
Stargate SG-1
Robot Chicken
Seinfeld
Saturday Night's Main Event
Phineas and Ferb
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stargate SG-1" .  } UNION { ?e <pred:name> "Star Trek: The Next Generation" . ?e <creator> ?e_1 . ?e_1 <pred:name> "Gene Roddenberry" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Stargate SG-1
function: Find
inputs: Gene Roddenberry
function: Relate
dependencies: 1
inputs: creator
backward
function: Find
inputs: Star Trek: The Next Generation
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
less
Answer: Star Trek: The Next Generation