Question: Which has less area, Fort Bend County or Dallas County that borders Denton County?
Choices:
Fort Bend County
Hidalgo County
Cameron County
McLennan County
Brazoria County
Jefferson County
Montgomery County
Johnson County
El Paso County
Dallas County
Answer: Fort Bend County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fort Bend County" .  } UNION { ?e <pred:name> "Dallas County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Denton County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Fort Bend County
function: Find
inputs: Denton County
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Dallas County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less