Question: What is the number of democracies that are the distribution territory for the film titled Inside Deep Throat?
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> "democracy" . ?e_1 <film_distribute_region> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_1 <title> ?pv . ?pv <pred:value> "Inside Deep Throat" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Inside Deep Throat
function: FilterConcept
dependencies: 1
inputs: film
function: Relate
dependencies: 2
inputs: film distribute region
forward
function: FilterConcept
dependencies: 3
inputs: democracy
function: Count
dependencies: 4