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