Question: Which one is smaller by area, Dallas County (with 2,368,139 inhabitants) or Bexar County ?
Choices:
Travis County
Jefferson County
Johnson County
El Paso County
McLennan County
Bexar County
Brazoria County
Cameron County
Dallas County
Montgomery County
Program:
function: Find
inputs: Dallas County
function: FilterNum
dependencies: 0
inputs: population
2368139
=
function: Find
inputs: Bexar County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dallas County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2368139"^^xsd:double . } UNION { ?e <pred:name> "Bexar County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dallas County