Question: How many Primetime Emmy Awards were after 2005, but not in 2007?
Choices:
1
2
3
4
5
6
7
8
9
10
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 ) . ?e <point_in_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 2007 ) .  }
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: FilterYear
dependencies: 3
inputs: point in time
2007
!=
function: FilterConcept
dependencies: 4
inputs: Primetime Emmy Award annual ceremony
function: And
dependencies: 2
5
function: Count
dependencies: 6