Question: Which area is smaller, , Monroe County (the one whose population is 168436) or Beaver County?
Choices:
Allegheny County
Fayette County
Bucks County
York County
Beaver County
Franklin County
Cumberland County
Warren County
Monroe County
Westmoreland County
Answer: Beaver County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monroe County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "168436"^^xsd:double . } UNION { ?e <pred:name> "Beaver County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Monroe County
function: FilterNum
dependencies: 0
inputs: population
168436
=
function: Find
inputs: Beaver County
function: SelectBetween
dependencies: 1
2
inputs: area
less