Question: How many string instruments are used by a harpsichordist or are the instrument used by Peter Buck (the one whose date of birth is 1956-12-06)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: harpsichordist
function: Relate
dependencies: 0
inputs: uses
forward
function: FilterConcept
dependencies: 1
inputs: string instrument
function: Find
inputs: Peter Buck
function: FilterDate
dependencies: 3
inputs: date of birth
1956-12-06
=
function: Relate
dependencies: 4
inputs: instrument
forward
function: FilterConcept
dependencies: 5
inputs: string instrument
function: Or
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "string instrument" .  { ?e_1 <uses> ?e . ?e_1 <pred:name> "harpsichordist" .  } UNION { ?e_1 <instrument> ?e . ?e_1 <pred:name> "Peter Buck" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1956-12-06"^^xsd:date .  } }
Answer: 2