Question: How many administrative territorial entities with a population greater than 9400 use the English language?
Choices:
157
158
159
160
161
162
163
164
165
166
Answer: 166
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "9400"^^xsd:double ) .  } UNION { ?e <language_used> ?e_1 . ?e_1 <pred:name> "English" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
9400
>
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: language used
backward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: Or
dependencies: 2
5
function: Count
dependencies: 6