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