Question: What is the number of episodes for the television series based on Ben 10 (the one whose number of seasons is 4)?
Choices:
1447
48
154
284
85
12
26
15762
172
54
Program:
function: Find
inputs: Ben 10
function: FilterNum
dependencies: 0
inputs: number of seasons
4
=
function: Relate
dependencies: 1
inputs: based on
backward
function: FilterConcept
dependencies: 2
inputs: television series
function: QueryAttr
dependencies: 3
inputs: number of episodes
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Ben 10" . ?e_1 <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4"^^xsd:double . ?e <number_of_episodes> ?pv .  }
Answer: 12