Question: Among the animated series whose genre is science fiction (which is the genre of Star Trek: Deep Space Nine), which has the smallest number of seasons?
Choices:
Aladdin
Family Guy
Batman Beyond
The Transformers
Robot Chicken
Futurama
Ben 10
American Dad!
Star Trek: The Animated Series
Tiny Toon Adventures
Program:
function: Find
inputs: Star Trek: Deep Space Nine
function: Relate
dependencies: 0
inputs: genre
forward
function: Find
inputs: science fiction
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: animated series
function: SelectAmong
dependencies: 5
inputs: number of seasons
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <genre> ?e_1 . ?e_1 <pred:name> "science fiction" . ?e_2 <genre> ?e_1 . ?e_2 <pred:name> "Star Trek: Deep Space Nine" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Star Trek: The Animated Series