Question: How many popular music were created before 1987 or after 1950?
Choices: 109
110
111
112
113
114
115
116
117
118
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 < 1987 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1950 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1987
<
function: FilterConcept
dependencies: 1
inputs: popular music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1950
>
function: FilterConcept
dependencies: 4
inputs: popular music
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 116