Question: Tell me the one that has the smallest area within Oregon County that has Portland in it (the one with a subreddit of Portland)
Choices:
Linn County
Marion County
Yamhill County
Tillamook County
Douglas County
Lake County
Columbia County
Washington County
Lane County
Multnomah County
Program:
function: Find
inputs: Portland
function: FilterStr
dependencies: 0
inputs: subreddit
Portland
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: county of Oregon
function: SelectAmong
dependencies: 3
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Oregon" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Portland" . ?e_1 <subreddit> ?pv_1 . ?pv_1 <pred:value> "Portland" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Multnomah County