Question: How many woodwind instruments are known because of famous Tom Scott (the one that has the record label Verve Records) and Paquito D'Rivera?
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> "Tom Scott" . ?e_1 <record_label> ?e_2 . ?e_2 <pred:name> "Verve Records" .  ?e <famous_people> ?e_3 . ?e_3 <pred:name> "Paquito D'Rivera" .  }
Program:
function: Find
inputs: Verve Records
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Tom Scott
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: woodwind instrument
function: Find
inputs: Paquito D'Rivera
function: Relate
dependencies: 6
inputs: famous people
backward
function: FilterConcept
dependencies: 7
inputs: woodwind instrument
function: And
dependencies: 5
8
function: Count
dependencies: 9