Question: What is the number of keyboard instruments used by Jon Lord (whose official website is http://jonlord.org) or having the Hornbostel-Sachs classification 511?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "keyboard instrument" .  { ?e_1 <instrument> ?e . ?e_1 <pred:name> "Jon Lord" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://jonlord.org" .  } UNION { ?e <Hornbostel-Sachs_classification> ?pv . ?pv <pred:value> "511" .  } }
Program:
function: Find
inputs: Jon Lord
function: FilterStr
dependencies: 0
inputs: official website
http://jonlord.org
function: Relate
dependencies: 1
inputs: instrument
forward
function: FilterConcept
dependencies: 2
inputs: keyboard instrument
function: FindAll
function: FilterStr
dependencies: 4
inputs: Hornbostel-Sachs classification
511
function: FilterConcept
dependencies: 5
inputs: keyboard instrument
function: Or
dependencies: 3
6
function: Count
dependencies: 7