Question: What is the number of electronic musical instruments that is a derivative work of Maraca and that is based on drum kit
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_1 <derivative_work> ?e . ?e_1 <pred:name> "maraca" .  ?e <based_on> ?e_2 . ?e_2 <pred:name> "drum kit" .  }
Program:
function: Find
inputs: maraca
function: Relate
dependencies: 0
inputs: derivative work
forward
function: FilterConcept
dependencies: 1
inputs: electronic musical instrument
function: Find
inputs: drum kit
function: Relate
dependencies: 3
inputs: based on
backward
function: FilterConcept
dependencies: 4
inputs: electronic musical instrument
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0