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