Question: Of the Texas counties bordering Dallas County (population 2408488), which takes up the least area?
Choices:
Hidalgo County
Cameron County
El Paso County
Dallas County
Montgomery County
Tarrant County
Denton County
Johnson County
Collin County
McLennan County
Answer: Johnson County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Texas" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Dallas County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2408488"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dallas County
function: FilterNum
dependencies: 0
inputs: population
2408488
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Texas
function: SelectAmong
dependencies: 3
inputs: area
smallest