Question: How many bowed string instruments have the Hornbostel-Sachs classification 513 or are the instrument used by Roy Wood (who is famous for woodwind instrument)?
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> "bowed string instrument" .  { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "513" .  } UNION { ?e_1 <instrument> ?e . ?e_1 <pred:name> "Roy Wood" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "woodwind instrument" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Hornbostel-Sachs classification
513
function: FilterConcept
dependencies: 1
inputs: bowed string instrument
function: Find
inputs: woodwind instrument
function: Relate
dependencies: 3
inputs: famous people
forward
function: Find
inputs: Roy Wood
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: instrument
forward
function: FilterConcept
dependencies: 7
inputs: bowed string instrument
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 3