Question: which one has less area,Galveston County or El Paso County?
Choices:
Hidalgo County
Montgomery County
Galveston County
El Paso County
McLennan County
Travis County
Johnson County
Dallas County
Brazoria County
Cameron County
Program:
function: Find
inputs: Galveston County
function: Find
inputs: El Paso County
function: FilterNum
dependencies: 1
inputs: population
828600
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Galveston County" . } UNION { ?e <pred:name> "El Paso County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "828600"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Galveston County