Question: Which area is smaller, New Haven County or Clinton County (the one whose area is 1839 square kilometre)?
Choices:
Orange County
Washoe County
New Haven County
Delaware County
Greene County
San Juan County
Cass County
Clinton County
Lee County
African Union
Program:
function: Find
inputs: New Haven County
function: Find
inputs: Clinton County
function: FilterNum
dependencies: 1
inputs: area
1839 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Haven County" . } UNION { ?e <pred:name> "Clinton County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1839"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Clinton County