Question: How many electronic musical instruments have Kanye West among its famous people and is the instrument used by Herbie Hancock?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "electronic musical instrument" . ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Kanye West" .  ?e_2 <instrument> ?e . ?e_2 <pred:name> "Herbie Hancock" .  }
Program:
function: Find
inputs: Kanye West
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: electronic musical instrument
function: Find
inputs: Herbie Hancock
function: Relate
dependencies: 3
inputs: instrument
forward
function: FilterConcept
dependencies: 4
inputs: electronic musical instrument
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0