Question: How many plucked string instruments are the instrument used by Cyndi Lauper or Taylor Swift?
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 <instrument> ?e . ?e_1 <pred:name> "Cyndi Lauper" .  } UNION { ?e_1 <instrument> ?e . ?e_1 <pred:name> "Taylor Swift" .  } }
Program:
function: Find
inputs: Cyndi Lauper
function: Relate
dependencies: 0
inputs: instrument
forward
function: FilterConcept
dependencies: 1
inputs: plucked string instrument
function: Find
inputs: Taylor Swift
function: Relate
dependencies: 3
inputs: instrument
forward
function: FilterConcept
dependencies: 4
inputs: plucked string instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2