Question: Which has less area, Jackson County whose population is 208545 or Douglas County that borders Lane County?
Choices:
Tillamook County
Douglas County
Columbia County
Linn County
Washington County
Yamhill County
Jackson County
Lake County
Marion County
Clackamas County
Answer: Jackson County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jackson County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "208545"^^xsd:double . } UNION { ?e <pred:name> "Douglas County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Lane County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jackson County
function: FilterNum
dependencies: 0
inputs: population
208545
=
function: Find
inputs: Lane County
function: Relate
dependencies: 2
inputs: shares border with
backward
function: Find
inputs: Douglas County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less