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