Question: How many electronic musical instruments are associated with John Frusciante or have the Hornbostel-Sachs classification of 54?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "electronic musical instrument" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "John Frusciante" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "54" .  } }
Program:
function: Find
inputs: John Frusciante
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: electronic musical instrument
function: FindAll
function: FilterStr
dependencies: 3
inputs: Hornbostel-Sachs classification
54
function: FilterConcept
dependencies: 4
inputs: electronic musical instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6