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