Question: How many string instruments fall within harpshichordist's occupational field, or belong into the instrumentation of The Sorcerer's Apprentice (the one whose inception time is 1890)   ?
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 <field_of_this_occupation> ?e . ?e_1 <pred:name> "harpsichordist" .  } UNION { ?e_1 <instrumentation> ?e . ?e_1 <pred:name> "The Sorcerer's Apprentice" . ?e_1 <inception> ?pv . ?pv <pred:year> 1890 .  } }
Program:
function: Find
inputs: harpsichordist
function: Relate
dependencies: 0
inputs: field of this occupation
forward
function: FilterConcept
dependencies: 1
inputs: string instrument
function: Find
inputs: The Sorcerer's Apprentice
function: FilterYear
dependencies: 3
inputs: inception
1890
=
function: Relate
dependencies: 4
inputs: instrumentation
forward
function: FilterConcept
dependencies: 5
inputs: string instrument
function: Or
dependencies: 2
6
function: Count
dependencies: 7