Question: tell me the television genre that has under 5100 episodes.
Choices:
Roots
talk show
The Price Is Right
medical drama
Animaniacs
cooking show
Rosemary's Baby
Malibu
Magical Girl Lyrical Nanoha
Damages
Answer: The Price Is Right
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television genre" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "5100"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
5100
<
function: FilterConcept
dependencies: 1
inputs: television genre
function: What
dependencies: 2