Question: How many types of pop music were either not started in 1920 or were started in 1920?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 14
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "pop music" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1920 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> 1920 .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1920
!=
function: FilterConcept
dependencies: 1
inputs: pop music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1920
=
function: FilterConcept
dependencies: 4
inputs: pop music
function: Or
dependencies: 2
5
function: Count
dependencies: 6