Question: Is the population count lower in Oshawa or in Kingston (Statistics Canada Geographic code 3510010)?
Choices:
Bergen
Chihuahua
Cairo
Kingston
Santo Domingo
Oshawa
Dundee
Abidjan
Trieste
Cork
Program:
function: Find
inputs: Oshawa
function: Find
inputs: Kingston
function: FilterStr
dependencies: 1
inputs: Statistics Canada Geographic code
3510010
function: SelectBetween
dependencies: 0
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oshawa" . } UNION { ?e <pred:name> "Kingston" . ?e <Statistics_Canada_Geographic_code> ?pv_1 . ?pv_1 <pred:value> "3510010" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kingston