Question: How many guitars have the Hornbostel-Sachs classification 513 or include famous people Roger Taylor (who is famous for drum kit)?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Hornbostel-Sachs classification
513
function: FilterConcept
dependencies: 1
inputs: guitar
function: Find
inputs: drum kit
function: Relate
dependencies: 3
inputs: famous people
forward
function: Find
inputs: Roger Taylor
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: famous people
backward
function: FilterConcept
dependencies: 7
inputs: guitar
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "guitar" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "513" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Roger Taylor" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "drum kit" .  } }
Answer: 2