Question: In 2013 how many Comedy Primetime Emmy Awards was Amy Poehler nominated for?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comedy" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "Primetime Emmy Award" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> "Amy Poehler" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2013 .   }
Program:
function: Find
inputs: Amy Poehler
function: Relate
dependencies: 0
inputs: nominated for
forward
function: QFilterYear
dependencies: 1
inputs: point in time
2013
=
function: FilterConcept
dependencies: 2
inputs: Primetime Emmy Award
function: Relate
dependencies: 3
inputs: nominated for
backward
function: FilterConcept
dependencies: 4
inputs: comedy
function: Count
dependencies: 5