Question: Which area is smaller, Jefferson County (the one whose population is 252490) or Dallas County (the one that shares border with Collin County)?
Choices: Montgomery County
Denton County
Cameron County
El Paso County
Johnson County
Hidalgo County
Brazoria County
Travis County
McLennan County
Dallas County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jefferson County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "252490"^^xsd:double . } UNION { ?e <pred:name> "Dallas County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Collin County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jefferson County
function: FilterNum
dependencies: 0
inputs: population
252490
=
function: Find
inputs: Collin County
function: Relate
dependencies: 2
inputs: shares border with
backward
function: Find
inputs: Dallas County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
Answer: Dallas County