Question: Which census-designated place bordered by Washington, D.C. is lowest in elevation?
Choices:
Silver Spring
Brazil
Towson
McLean
Rio Grande do Sul
Bethesda
Jim Morrison
Independence
John Bailey
Stanford
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: census-designated place
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "census-designated place" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Washington, D.C." .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bethesda