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