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