Question: Does Kingston, at 22.713303 sq km, or Dearborn have the larger population size?
Choices:
Columbus
Waukegan
Boulder
Lansing
New Haven
Compton
Oakland
Franklin
Dearborn
Kingston
Answer: Dearborn
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kingston" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "22.713303"^^xsd:double . } UNION { ?e <pred:name> "Dearborn" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kingston
function: FilterNum
dependencies: 0
inputs: area
22.713303 square kilometre
=
function: Find
inputs: Dearborn
function: SelectBetween
dependencies: 1
2
inputs: population
greater