Question: How many seasons did the tv series which featured Thandie Newton run for?
Choices:
11
45
54
36
24
10
15
6
22
4
Program:
function: Find
inputs: Thandie Newton
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of seasons
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Thandie Newton" .  ?e <number_of_seasons> ?pv .  }
Answer: 4