Question: Which county has less area, Herkimer County or Genesee County (which has a population of 60,037)?
Choices:
Rensselaer County
Greene County
Jefferson County
Niagara County
Herkimer County
Genesee County
Orange County
Albany County
Clinton County
Cayuga County
Program:
function: Find
inputs: Herkimer County
function: Find
inputs: Genesee County
function: FilterNum
dependencies: 1
inputs: population
60037
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Herkimer County" . } UNION { ?e <pred:name> "Genesee County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "60037"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Genesee County