Question: John Coltrane is employed by what number of record labels?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" . ?e_1 <employer> ?e . ?e_1 <pred:name> "John Coltrane" .   }
Program:
function: Find
inputs: John Coltrane
function: Relate
dependencies: 0
inputs: employer
forward
function: FilterConcept
dependencies: 1
inputs: record label
function: Count
dependencies: 2