Question: What is the number of seasons of the television series that has Stephen McHattie as a cast member?
Choices: 54
9
10
34
12
43
29
25
26
3
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Stephen McHattie" .  ?e <number_of_seasons> ?pv .  }
Program:
function: Find
inputs: Stephen McHattie
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of seasons
Answer: 3