Question: Which has greater area, Burlington whose population is 25663 or Lawton?
Choices:
Oakland
Columbus
Lansing
Waukegan
Lawton
New Haven
Franklin
Burlington
Compton
Greenville
Program:
function: Find
inputs: Burlington
function: FilterNum
dependencies: 0
inputs: population
25663
=
function: Find
inputs: Lawton
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Burlington" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "25663"^^xsd:double . } UNION { ?e <pred:name> "Lawton" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lawton