Question: How many working musicians are members of rock bands?
Choices: 5
6
7
8
9
10
11
12
13
14
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock band" . ?e <field_of_work> ?e_1 . ?e_1 <pred:name> "musician" .   }
Program:
function: Find
inputs: musician
function: Relate
dependencies: 0
inputs: field of work
backward
function: FilterConcept
dependencies: 1
inputs: rock band
function: Count
dependencies: 2
Answer: 6