Question: Which independent city that shares a border with Arlington County has the highest elevation above sea level?
Choices:
Suffolk
Williamsburg
Roanoke
Lynchburg
Winchester
Fairfax
Falls Church
Danville
Hampton
Charlottesville
Program:
function: Find
inputs: Arlington County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: independent city
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Arlington County" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Falls Church