Question: How many administrative territorial entities of Canada are or were known with the population of over 200000000 while they were replaced by Quebec (that uses French as the official language) ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity of Canada" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "200000000"^^xsd:double ) . ?e_1 <replaces> ?e . ?e_1 <pred:name> "Quebec" . ?e_1 <official_language> ?e_2 . ?e_2 <pred:name> "French" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
200000000
>
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity of Canada
function: Find
inputs: French
function: Relate
dependencies: 3
inputs: official language
backward
function: Find
inputs: Quebec
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: replaces
forward
function: FilterConcept
dependencies: 7
inputs: administrative territorial entity of Canada
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 0