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