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