Question: Does Waterloo, which has an area of 163.754661 square kilometers, or Hattiesburg have less area?
Choices:
Greenville
New Haven
Waterloo
Lansing
Compton
Franklin
Oakland
Waukegan
Hattiesburg
Boulder
Program:
function: Find
inputs: Waterloo
function: FilterNum
dependencies: 0
inputs: area
163.754661 square kilometre
=
function: Find
inputs: Hattiesburg
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Waterloo" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "163.754661"^^xsd:double . } UNION { ?e <pred:name> "Hattiesburg" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hattiesburg