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