Question: Which area is smaller, Buncombe County or Madison County (the one whose population is 20873)?
Choices:
Wake County
Buncombe County
Cumberland County
Guilford County
Mecklenburg County
Gaston County
Madison County
Polk County
Brunswick County
Franklin County
Program:
function: Find
inputs: Buncombe County
function: Find
inputs: Madison County
function: FilterNum
dependencies: 1
inputs: population
20873
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Buncombe County" . } UNION { ?e <pred:name> "Madison County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "20873"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Madison County