Question: How many different woodwind instruments are played by John Coltrane or famously associated with Van Morrison?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: John Coltrane
function: Relate
dependencies: 0
inputs: instrument
forward
function: FilterConcept
dependencies: 1
inputs: woodwind instrument
function: Find
inputs: Van Morrison
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: woodwind instrument
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "woodwind instrument" .  { ?e_1 <instrument> ?e . ?e_1 <pred:name> "John Coltrane" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Van Morrison" .  } }
Answer: 3