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