Question: How many episodes does the medical drama Quincy have?
Choices: 65
254
148
124
82
52
49
112
203
951
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Quincy" . ?e <genre> ?e_1 . ?e_1 <pred:name> "medical drama" .  ?e <number_of_episodes> ?pv .  }
Program:
function: Find
inputs: medical drama
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Quincy
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: number of episodes
Answer: 148