Question: How many string instruments are used by a harpsichordist or whose official name is Arpe?
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> "string instrument" .  { ?e_1 <uses> ?e . ?e_1 <pred:name> "harpsichordist" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> "Arpe" .  } }
Program:
function: Find
inputs: harpsichordist
function: Relate
dependencies: 0
inputs: uses
forward
function: FilterConcept
dependencies: 1
inputs: string instrument
function: FindAll
function: FilterStr
dependencies: 3
inputs: official name
Arpe
function: FilterConcept
dependencies: 4
inputs: string instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6