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