Question: Which area is larger, Greene County (the one whose population is 283870) or Cache County?
Choices:
Kent County
African Union
Cache County
San Juan County
Orange County
Washoe County
Lee County
Delaware County
Greene County
United States Virgin Islands
Program:
function: Find
inputs: Greene County
function: FilterNum
dependencies: 0
inputs: population
283870
=
function: Find
inputs: Cache County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greene County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "283870"^^xsd:double . } UNION { ?e <pred:name> "Cache County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cache County