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