Question: How many Primetime Emmy Awards were nominated to Lou Grant or established in a year other than 1953?
Choices:
16
17
18
19
20
21
22
23
24
25
Answer: 24
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> "Lou Grant" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1953 ) .  } }
Program:
function: Find
inputs: Lou Grant
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: Primetime Emmy Award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1953
!=
function: FilterConcept
dependencies: 4
inputs: Primetime Emmy Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6