Question: How many awards events took place more recently than 2004 or were first broadcast on CBS?
Choices:
17
18
19
20
21
22
23
24
25
26
Answer: 23
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "award ceremony" .  { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2004 ) .  } UNION { ?e <original_network> ?e_1 . ?e_1 <pred:name> "CBS" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: point in time
2004
>
function: FilterConcept
dependencies: 1
inputs: award ceremony
function: Find
inputs: CBS
function: Relate
dependencies: 3
inputs: original network
backward
function: FilterConcept
dependencies: 4
inputs: award ceremony
function: Or
dependencies: 2
5
function: Count
dependencies: 6