Question: How many woodwind instruments have the famous person named Paquito D'Rivera or are the instruments used by Charlie Parker (whose official website is https://charliebird)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "woodwind instrument" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Paquito D'Rivera" .  } UNION { ?e_1 <instrument> ?e . ?e_1 <pred:name> "Charlie Parker" . ?e_1 <official_website> ?pv . ?pv <pred:value> "https://charliebirdparker.com/" .  } }
Program:
function: Find
inputs: Paquito D'Rivera
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: woodwind instrument
function: Find
inputs: Charlie Parker
function: FilterStr
dependencies: 3
inputs: official website
https://charliebirdparker.com/
function: Relate
dependencies: 4
inputs: instrument
forward
function: FilterConcept
dependencies: 5
inputs: woodwind instrument
function: Or
dependencies: 2
6
function: Count
dependencies: 7