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