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