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