Question: How many musics have an establishment not in 1977 and a David Bowie (the one whose genre is avant-garde jazz) movement?
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> "music" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1977 ) . ?e_1 <movement> ?e . ?e_1 <pred:name> "David Bowie" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "avant-garde jazz" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1977
!=
function: FilterConcept
dependencies: 1
inputs: music
function: Find
inputs: avant-garde jazz
function: Relate
dependencies: 3
inputs: genre
backward
function: Find
inputs: David Bowie
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: movement
forward
function: FilterConcept
dependencies: 7
inputs: music
function: And
dependencies: 2
8
function: Count
dependencies: 9