Question: How many ethnic communities' geographic distribution is the state of the United States that is the filming location of Bad Teacher (whose release region is the People's Republic of China)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Bad Teacher
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
forward
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: Relate
dependencies: 5
inputs: geographic distribution
backward
function: FilterConcept
dependencies: 6
inputs: ethnic community
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ethnic community" . ?e <geographic_distribution> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_3 <filming_location> ?e_1 . ?e_3 <pred:name> "Bad Teacher" . ?e_3 <film_release_region> ?e_4 . ?e_4 <pred:name> "People's Republic of China" .   }
Answer: 2