Question: Does Norwalk whose area is 94.203794 square kilometers or Colorado Springs have the larger population?
Choices:
Lansing
Colorado Springs
Waukegan
Columbus
Norwalk
Oakland
Greenville
Compton
Boulder
Franklin
Program:
function: Find
inputs: Norwalk
function: FilterNum
dependencies: 0
inputs: area
94.203794 square kilometre
=
function: Find
inputs: Colorado Springs
function: SelectBetween
dependencies: 1
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Norwalk" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "94.203794"^^xsd:double . } UNION { ?e <pred:name> "Colorado Springs" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Colorado Springs