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