Question: How many electronic musical instruments are a derivative work of the class of instruments whose famous people includes Bill Wyman (who in in the genre of rock and roll)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: rock and roll
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Bill Wyman
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: class of instruments
function: Relate
dependencies: 5
inputs: derivative work
forward
function: FilterConcept
dependencies: 6
inputs: electronic musical instrument
function: Count
dependencies: 7
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:instance_of> ?c_1 . ?c_1 <pred:name> "class of instruments" . ?e_1 <famous_people> ?e_2 . ?e_2 <pred:name> "Bill Wyman" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "rock and roll" .   }
Answer: 0