Question: How many forms of popular music were created in 1927 or not in 1997?
Choices:
106
107
108
109
110
111
112
113
114
115
Answer: 115
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "popular music" .  { ?e <inception> ?pv . ?pv <pred:year> 1927 .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1997 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1927
=
function: FilterConcept
dependencies: 1
inputs: popular music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1997
!=
function: FilterConcept
dependencies: 4
inputs: popular music
function: Or
dependencies: 2
5
function: Count
dependencies: 6