Question: How many English language albums are there not published in 1998?
Choices:
18
19
20
21
22
23
24
25
26
27
Answer: 20
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "album" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1998 ) . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1998
!=
function: FilterConcept
dependencies: 1
inputs: album
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: FilterConcept
dependencies: 4
inputs: album
function: And
dependencies: 2
5
function: Count
dependencies: 6