Question: How many musical instruments play the celebrity Richie Sambora or whose Hornbostel-Sachs classification is 321.321-5?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical instrument" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Richie Sambora" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "321.321-5" .  } }
Program:
function: Find
inputs: Richie Sambora
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: musical instrument
function: FindAll
function: FilterStr
dependencies: 3
inputs: Hornbostel-Sachs classification
321.321-5
function: FilterConcept
dependencies: 4
inputs: musical instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6