Question: The Primetime Emmy Award nominated to Steven Moffat for Sherlock was also nominated to how many miniseries?
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?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> "Steven Moffat" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Sherlock" .   }
Program:
function: Find
inputs: Steven Moffat
function: Relate
dependencies: 0
inputs: nominated for
forward
function: QFilterStr
dependencies: 1
inputs: for work
Sherlock
function: FilterConcept
dependencies: 2
inputs: Primetime Emmy Award
function: Relate
dependencies: 3
inputs: nominated for
backward
function: FilterConcept
dependencies: 4
inputs: miniseries
function: Count
dependencies: 5