Question: Among the Oregon counties that contain the administrative division Portland (which is located in Multnomah County), which has the smallest area?
Choices:
Marion County
Lake County
Yamhill County
Douglas County
Washington County
Tillamook County
Lane County
Clackamas County
Multnomah County
Columbia County
Answer: Multnomah County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Oregon" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Portland" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Multnomah County" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Multnomah County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Portland
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of Oregon
function: SelectAmong
dependencies: 5
inputs: area
smallest