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