Question: How many plucked string instruments are played by harpsichordists or famously associated with George Harrison, a Ravi Shankar influence?
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> "plucked string instrument" .  { ?e_1 <uses> ?e . ?e_1 <pred:name> "harpsichordist" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "George Harrison" . ?e_1 <influenced_by> ?e_2 . ?e_2 <pred:name> "Ravi Shankar" .  } }
Program:
function: Find
inputs: harpsichordist
function: Relate
dependencies: 0
inputs: uses
forward
function: FilterConcept
dependencies: 1
inputs: plucked string instrument
function: Find
inputs: Ravi Shankar
function: Relate
dependencies: 3
inputs: influenced by
backward
function: Find
inputs: George Harrison
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: famous people
backward
function: FilterConcept
dependencies: 7
inputs: plucked string instrument
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2