Question: How many songs do not have a beats per minute rate of 90 or were not published in 1991?
Choices:
11
12
13
14
15
16
17
18
19
20
Answer: 13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "song" .  { ?e <beats_per_minute> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "90"^^xsd:double ) .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1991 ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: beats per minute
90
!=
function: FilterConcept
dependencies: 1
inputs: song
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1991
!=
function: FilterConcept
dependencies: 4
inputs: song
function: Or
dependencies: 2
5
function: Count
dependencies: 6