Question: How many bowed-string instruments have famous person Johann Sebastian Bach (the one whose British Museum person-institution is 64954) or a Hornbostel-Sachs classification of 321.322-71?
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 <famous_people> ?e_1 . ?e_1 <pred:name> "Johann Sebastian Bach" . ?e_1 <British_Museum_person-institution> ?pv . ?pv <pred:value> "64954" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "321.322-71" .  } }
Program:
function: Find
inputs: Johann Sebastian Bach
function: FilterStr
dependencies: 0
inputs: British Museum person-institution
64954
function: Relate
dependencies: 1
inputs: famous people
backward
function: FilterConcept
dependencies: 2
inputs: bowed string instrument
function: FindAll
function: FilterStr
dependencies: 4
inputs: Hornbostel-Sachs classification
321.322-71
function: FilterConcept
dependencies: 5
inputs: bowed string instrument
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 4