Question: Is Cass County (population 99882) or Gwinnett County smaller by area?
Choices:
United States Virgin Islands
Delaware County
Kent County
African Union
Gwinnett County
Cass County
Orange County
Lee County
San Juan County
Greene County
Program:
function: Find
inputs: Cass County
function: FilterNum
dependencies: 0
inputs: population
99882
=
function: Find
inputs: Gwinnett County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cass County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "99882"^^xsd:double . } UNION { ?e <pred:name> "Gwinnett County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gwinnett County