Question: Which part of an Oregon county contains Portland, the formation location of The Decemberists?
Choices:
Washington County
Linn County
Columbia County
Clackamas County
Marion County
Lane County
Multnomah County
Lake County
Tillamook County
Douglas County
Program:
function: Find
inputs: The Decemberists
function: Relate
dependencies: 0
inputs: location of formation
forward
function: Find
inputs: Portland
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: county of Oregon
function: SelectAmong
dependencies: 5
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_2 <location_of_formation> ?e_1 . ?e_2 <pred:name> "The Decemberists" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Clackamas County