Question: Which has fewer people, Green Bay (the one whose area is 144.72724 square kilometre) or Greenwood?
Choices:
Greenville
New Haven
Columbus
Lansing
Franklin
Greenwood
Waukegan
Boulder
Oakland
Green Bay
Program:
function: Find
inputs: Green Bay
function: FilterNum
dependencies: 0
inputs: area
144.72724 square kilometre
=
function: Find
inputs: Greenwood
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Green Bay" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "144.72724"^^xsd:double . } UNION { ?e <pred:name> "Greenwood" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Greenwood