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