Question: Does Fulton County with population of 14748 or Bucks County have less area?
Choices:
Erie County
Allegheny County
Franklin County
York County
Fayette County
Cumberland County
Fulton County
Westmoreland County
Bucks County
Warren County
Program:
function: Find
inputs: Fulton County
function: FilterNum
dependencies: 0
inputs: population
14748
=
function: Find
inputs: Bucks County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fulton County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "14748"^^xsd:double . } UNION { ?e <pred:name> "Bucks County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Fulton County