Question: Which mechanical wave began before 1987 and includes famous people Chris Brown (who is famous for rhythm and blues)?
Choices:
Skate punk
grindcore
jangle pop
urban contemporary
alternative country
noise pop
funk metal
dance-pop
psychedelic pop
bubblegum pop
Answer: dance-pop
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mechanical wave" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1987 ) . ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Chris Brown" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "rhythm and blues" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1987
<
function: FilterConcept
dependencies: 1
inputs: mechanical wave
function: Find
inputs: rhythm and blues
function: Relate
dependencies: 3
inputs: famous people
forward
function: Find
inputs: Chris Brown
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: famous people
backward
function: FilterConcept
dependencies: 7
inputs: mechanical wave
function: And
dependencies: 2
8
function: What
dependencies: 9