Question: How many seasons did the TV series whose abbreviated name is TNG have?
Choices:
20
10
8
41
25
24
45
2
5
7
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
TNG
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of seasons
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> "TNG" . ?e <number_of_seasons> ?pv .  }
Answer: 7