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