Question: How many mechanical waves associated with pop rocker David Bowie were not started in 1982?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mechanical wave" . ?e_1 <movement> ?e . ?e_1 <pred:name> "David Bowie" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "pop rock" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1982 ) .  }
Program:
function: Find
inputs: pop rock
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: David Bowie
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: movement
forward
function: FilterConcept
dependencies: 4
inputs: mechanical wave
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1982
!=
function: FilterConcept
dependencies: 7
inputs: mechanical wave
function: And
dependencies: 5
8
function: Count
dependencies: 9