Question: What is the number of annual ceremonies for the Primetime Emmy Award occurring before 2005 or having the edition number 59?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Primetime Emmy Award annual ceremony" .  { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  } UNION { ?e <edition_number> ?pv . ?pv <pred:value> "59" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: point in time
2005
<
function: FilterConcept
dependencies: 1
inputs: Primetime Emmy Award annual ceremony
function: FindAll
function: FilterStr
dependencies: 3
inputs: edition number
59
function: FilterConcept
dependencies: 4
inputs: Primetime Emmy Award annual ceremony
function: Or
dependencies: 2
5
function: Count
dependencies: 6