Question: How many Primetime Emmy Awards were earned by Ted Danson or created in a year excluding 1953?
Choices:
18
19
20
21
22
23
24
25
26
27
Answer: 25
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Primetime Emmy Award" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> "Ted Danson" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1953 ) .  } }
Program:
function: Find
inputs: Ted Danson
function: Relate
dependencies: 0
inputs: winner
backward
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