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