Question: How many ethnic communities have Mariah Carey in an ethnic group?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ethnic community" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> "Mariah Carey" .   }
Program:
function: Find
inputs: Mariah Carey
function: Relate
dependencies: 0
inputs: ethnic group
forward
function: FilterConcept
dependencies: 1
inputs: ethnic community
function: Count
dependencies: 2