Question: How many award ceremonies occurred before 2011 and are not in 2010?
Choices:
18
19
20
21
22
23
24
25
26
27
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 < 2011 ) . ?e <point_in_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 2010 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: point in time
2011
<
function: FilterConcept
dependencies: 1
inputs: award ceremony
function: FindAll
function: FilterYear
dependencies: 3
inputs: point in time
2010
!=
function: FilterConcept
dependencies: 4
inputs: award ceremony
function: And
dependencies: 2
5
function: Count
dependencies: 6