Question: Which Oregon county that shares a border with Clark County (whose area is 1700 square kilometers) has the smallest area?
Choices:
Washington County
Lane County
Multnomah County
Douglas County
Yamhill County
Linn County
Columbia County
Lake County
Clackamas County
Marion County
Answer: Multnomah County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Oregon" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Clark County" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1700"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Clark County
function: FilterNum
dependencies: 0
inputs: area
1700 square kilometre
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Oregon
function: SelectAmong
dependencies: 3
inputs: area
smallest