Question: How many episodes in the TV series that is a notable work of Josh Schwartz?
Choices:
91
8
160
11136
178
154
21
246
74
397
Answer: 91
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> "Josh Schwartz" .  ?e <number_of_episodes> ?pv .  }
Program:
function: Find
inputs: Josh Schwartz
function: Relate
dependencies: 0
inputs: notable work
forward
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of episodes