Question: Does Lawrence (whose area is 19.242073 square kilometers) or La Crosse have the lower population?
Choices:
Greenville
New Haven
Waukegan
Franklin
La Crosse
Columbus
Lansing
Lawrence
Boulder
Oakland
Program:
function: Find
inputs: Lawrence
function: FilterNum
dependencies: 0
inputs: area
19.242073 square kilometre
=
function: Find
inputs: La Crosse
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lawrence" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "19.242073"^^xsd:double . } UNION { ?e <pred:name> "La Crosse" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: La Crosse