Question: How many soul musics began before 1967 or include Erykah Badu in famous people?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
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 < 1967 ) .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Erykah Badu" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1967
<
function: FilterConcept
dependencies: 1
inputs: soul music
function: Find
inputs: Erykah Badu
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: soul music
function: Or
dependencies: 2
5
function: Count
dependencies: 6