Question: Which has less area, Greene County with an area of 1705 square kilometers, or Onondaga County?
Choices:
Albany County
Onondaga County
Warren County
Cayuga County
Chautauqua County
Jefferson County
Greene County
Orange County
Rensselaer County
Niagara County
Program:
function: Find
inputs: Greene County
function: FilterNum
dependencies: 0
inputs: area
1705 square kilometre
=
function: Find
inputs: Onondaga County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greene County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1705"^^xsd:double . } UNION { ?e <pred:name> "Onondaga County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Greene County