Question: Which has a greater area, Albany (the one whose population is 77434) or Laredo?
Choices:
Columbus
Waukegan
Boulder
Albany
Greenville
New Haven
Laredo
Franklin
Lansing
Compton
Answer: Laredo
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> "Laredo" . } ?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: Laredo
function: SelectBetween
dependencies: 1
2
inputs: area
greater