Question: What is the number of popular music whose inception time is after 1998 or whose inception time is not in 1981 ?
Choices:
108
109
110
111
112
113
114
115
116
117
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> ?v . FILTER ( ?v > 1998 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1981 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1998
>
function: FilterConcept
dependencies: 1
inputs: popular music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1981
!=
function: FilterConcept
dependencies: 4
inputs: popular music
function: Or
dependencies: 2
5
function: Count
dependencies: 6