Question: Among the county of Oregon that is an administrative division of Oregon (the one whose elevation (above sea level) is 1005 metre), which one has the largest area ?
Choices:
Linn County
Lake County
Lane County
Jackson County
Washington County
Multnomah County
Marion County
Deschutes County
Douglas County
Klamath County
Answer: Lake County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Oregon" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Oregon" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "1005"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Oregon
function: FilterNum
dependencies: 0
inputs: elevation above sea level
1005 metre
=
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: county of Oregon
function: SelectAmong
dependencies: 3
inputs: area
largest