Question: How many Primetime Emmy Awards did the television series that received the Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series receive (the winner of this statement is Jean Stapleton)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Primetime Emmy Award" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "television series" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <winner> ?qpv . ?qpv <pred:value> "Jean Stapleton" .   }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: winner
Jean Stapleton
function: FilterConcept
dependencies: 2
inputs: television series
function: Relate
dependencies: 3
inputs: award received
forward
function: FilterConcept
dependencies: 4
inputs: Primetime Emmy Award
function: Count
dependencies: 5