Question: What is the number of woodwind instruments that Charlie Parker (whose religion is atheism) uses and are instruments used by Sonny Rollins?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "woodwind instrument" . ?e_1 <instrument> ?e . ?e_1 <pred:name> "Charlie Parker" . ?e_1 <religion> ?e_2 . ?e_2 <pred:name> "atheism" .  ?e_3 <instrument> ?e . ?e_3 <pred:name> "Sonny Rollins" .  }
Program:
function: Find
inputs: atheism
function: Relate
dependencies: 0
inputs: religion
backward
function: Find
inputs: Charlie Parker
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: instrument
forward
function: FilterConcept
dependencies: 4
inputs: woodwind instrument
function: Find
inputs: Sonny Rollins
function: Relate
dependencies: 6
inputs: instrument
forward
function: FilterConcept
dependencies: 7
inputs: woodwind instrument
function: And
dependencies: 5
8
function: Count
dependencies: 9