Question: How many jazz works were released before 1995 but not in 1968?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "jazz" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1968 ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1995 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1968
!=
function: FilterConcept
dependencies: 1
inputs: jazz
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1995
<
function: FilterConcept
dependencies: 4
inputs: jazz
function: And
dependencies: 2
5
function: Count
dependencies: 6