Question: How many Primetime Emmy Awards were either not started in 1952 or were received by Robert Guillaume who died from prostate cancer?
Choices: 16
17
18
19
20
21
22
23
24
25
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Primetime Emmy Award" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1952 ) .  } UNION { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Robert Guillaume" . ?e_1 <cause_of_death> ?e_2 . ?e_2 <pred:name> "prostate cancer" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1952
!=
function: FilterConcept
dependencies: 1
inputs: Primetime Emmy Award
function: Find
inputs: prostate cancer
function: Relate
dependencies: 3
inputs: cause of death
backward
function: Find
inputs: Robert Guillaume
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: award received
forward
function: FilterConcept
dependencies: 7
inputs: Primetime Emmy Award
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 23