Question: How many saxophones are the instrument used by John Coltrane and whose famous people includes Joshua Redman?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: John Coltrane
function: Relate
dependencies: 0
inputs: instrument
forward
function: FilterConcept
dependencies: 1
inputs: saxophone
function: Find
inputs: Joshua Redman
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: saxophone
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "saxophone" . ?e_1 <instrument> ?e . ?e_1 <pred:name> "John Coltrane" .  ?e <famous_people> ?e_2 . ?e_2 <pred:name> "Joshua Redman" .  }
Answer: 1