Question: How many Primetime Emmy Awards were nominated to Taxi (which was nominated for a Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series) or were received by Chicago Hope?
Choices: 11
12
13
14
15
16
17
18
19
20
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Primetime Emmy Award" .  { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Taxi" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series" .  } UNION { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Chicago Hope" .  } }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Taxi
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: Primetime Emmy Award
function: Find
inputs: Chicago Hope
function: Relate
dependencies: 6
inputs: award received
forward
function: FilterConcept
dependencies: 7
inputs: Primetime Emmy Award
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 11