Question: Which is larger in terms of area: Hidalgo County, or Dallas County (population 2,513,054)?
Choices:
Montgomery County
Cameron County
Brazoria County
Travis County
Hidalgo County
Johnson County
El Paso County
Dallas County
Denton County
McLennan County
Program:
function: Find
inputs: Hidalgo County
function: Find
inputs: Dallas County
function: FilterNum
dependencies: 1
inputs: population
2513054
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hidalgo County" . } UNION { ?e <pred:name> "Dallas County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2513054"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hidalgo County