Question: What is the number of episodes for the animated series whose director is Joseph Barbera?
Choices:
20
246
236
56
168
187
50
110
1
904
Answer: 20
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <director> ?e_1 . ?e_1 <pred:name> "Joseph Barbera" .  ?e <number_of_episodes> ?pv .  }
Program:
function: Find
inputs: Joseph Barbera
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: animated series
function: QueryAttr
dependencies: 2
inputs: number of episodes