Question: Which area is smaller, Scott County (the one whose population is 137232) or New Caledonia?
Choices:
Cass County
Scott County
New Caledonia
Greene County
Delaware County
Washoe County
African Union
Kent County
Orange County
San Juan County
Program:
function: Find
inputs: Scott County
function: FilterNum
dependencies: 0
inputs: population
137232
=
function: Find
inputs: New Caledonia
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scott County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "137232"^^xsd:double . } UNION { ?e <pred:name> "New Caledonia" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Scott County