Question: How many forms of soul music were created prior to 1965 or later than 1950?
Choices:
3
4
5
6
7
8
9
10
11
12
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1950
>
function: FilterConcept
dependencies: 1
inputs: soul music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1965
<
function: FilterConcept
dependencies: 4
inputs: soul music
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "soul music" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1950 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1965 ) .  } }
Answer: 4