Question: Of animated series in the science fiction genre exemplified by Babylon 5, which had the shortest run of seasons?
Choices:
American Dad!
Robot Chicken
Family Guy
Star Trek: The Animated Series
The Cleveland Show
Aladdin
Futurama
The Transformers
Ben 10
Batman Beyond
Answer: Star Trek: The Animated Series
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> "Babylon 5" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Babylon 5
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