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