Question: How many episodes does Madison starring Barry Pepper have?
Choices:
197
217
11136
103
60
4795
222
58
154
65
Program:
function: Find
inputs: Barry Pepper
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Madison
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: number of episodes
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Madison" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Barry Pepper" .  ?e <number_of_episodes> ?pv .  }
Answer: 65