Question: Which Oregon county containing Portland (whose subreddit is Portland) has the largest land area?
Choices:
Columbia County
Washington County
Multnomah County
Lake County
Marion County
Yamhill County
Linn County
Clackamas County
Douglas County
Tillamook 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
largest
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 DESC(?v) LIMIT 1
Answer: Clackamas County