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