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