Question: How many seasons were there in the television series with Robert Guillaume in the cast, who received a Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series?
Choices: 9
63
1
4
21
5
45
66
25
7
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Robert Guillaume" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series" .  ?e <number_of_seasons> ?pv .  }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Robert Guillaume
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: QueryAttr
dependencies: 5
inputs: number of seasons
Answer: 4