Question: How many comedies do not have an end time in 1968 or were nominated for a Primetime Emmy Award for Outstanding Comedy Series?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comedy" .  { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1968 ) .  } UNION { ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Comedy Series" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1968
!=
function: FilterConcept
dependencies: 1
inputs: comedy
function: Find
inputs: Primetime Emmy Award for Outstanding Comedy Series
function: Relate
dependencies: 3
inputs: nominated for
backward
function: FilterConcept
dependencies: 4
inputs: comedy
function: Or
dependencies: 2
5
function: Count
dependencies: 6