Question: Among the Oregon counties located in Oregon (the one that is headed by secretary of state), which one has the largest area?
Choices: Columbia County
Douglas County
Clackamas County
Lake County
Tillamook County
Linn County
Yamhill County
Multnomah County
Klamath County
Deschutes County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Oregon" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Oregon" . ?e_1 <office_held_by_head_of_government> ?e_2 . ?e_2 <pred:name> "secretary of state" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: secretary of state
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Oregon
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of Oregon
function: SelectAmong
dependencies: 5
inputs: area
largest
Answer: Lake County