Question: Tell me the one with the least episodes within the television series that is based on Star Trek: The Original Series
Choices:
Star Trek: Deep Space Nine
Saturday Night's Main Event
Seinfeld
Dancing with the Stars
Game of Thrones
Bleak House
Star Trek: The Animated Series
Robot Chicken
Star Trek: Enterprise
American Horror Story
Answer: Star Trek: Deep Space Nine
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Star Trek: The Original Series" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Star Trek: The Original Series
function: Relate
dependencies: 0
inputs: based on
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest