Question: Which is greater in area, Kent County (the one whose population is 614079) or Tuscola County?
Choices:
Macomb County
Kent County
Marquette County
Clinton County
Tuscola County
Monroe County
Berrien County
Genesee County
Washtenaw County
Livingston County
Program:
function: Find
inputs: Kent County
function: FilterNum
dependencies: 0
inputs: population
614079
=
function: Find
inputs: Tuscola County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kent County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "614079"^^xsd:double . } UNION { ?e <pred:name> "Tuscola County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tuscola County