Question: How many ethnic communities contain an ethnic group from which there is a person that was, in 1990,  nominated for Independent Spirit Award?
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> "ethnic community" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Independent Spirit Award for Best Supporting Male" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv . ?qpv <pred:year> 1990 .   }
Program:
function: Find
inputs: Independent Spirit Award for Best Supporting Male
function: Relate
dependencies: 0
inputs: nominated for
backward
function: QFilterYear
dependencies: 1
inputs: point in time
1990
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: ethnic group
forward
function: FilterConcept
dependencies: 4
inputs: ethnic community
function: Count
dependencies: 5