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