Question: Is Little Rock or Kansas City, population 145786, smaller in terms of area?
Choices:
Compton
Columbus
Franklin
Kansas City
Oakland
Lansing
Greenville
Boulder
Little Rock
New Haven
Program:
function: Find
inputs: Little Rock
function: Find
inputs: Kansas City
function: FilterNum
dependencies: 1
inputs: population
145786
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Little Rock" . } UNION { ?e <pred:name> "Kansas City" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "145786"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Little Rock