Question: Are there less people living in Bloomington located in Hennepin County or in Franklin?
Choices:
New Haven
Bloomington
New Britain
Columbus
Boulder
Lansing
Oakland
Franklin
Compton
Greenville
Program:
function: Find
inputs: Hennepin County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Bloomington
function: And
dependencies: 1
2
function: Find
inputs: Franklin
function: SelectBetween
dependencies: 3
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bloomington" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Hennepin County" .   } UNION { ?e <pred:name> "Franklin" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Franklin