Question: Does Genesee County, with a population of 417791, or Macomb County have a smaller area?
Choices:
Monroe County
Genesee County
Saginaw County
Macomb County
Washtenaw County
Kent County
Marquette County
Tuscola County
Berrien County
Clinton County
Answer: Macomb County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Genesee County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "417791"^^xsd:double . } UNION { ?e <pred:name> "Macomb County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Genesee County
function: FilterNum
dependencies: 0
inputs: population
417791
=
function: Find
inputs: Macomb County
function: SelectBetween
dependencies: 1
2
inputs: area
less