Question: Tell me the metropolitan area that has San Francisco (the one that has an elevation (over sea level) of 52 foot) in it.
Choices: Chicago metropolitan area
Portland metropolitan area
Washington metropolitan area
San Francisco Bay Area
Greater St. Louis
Seattle metropolitan area
Greater Los Angeles Area
New York metropolitan area
Greater Houston
New Orleans metropolitan area
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan area" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "San Francisco" . ?e_1 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "foot" . ?pv <pred:value> "52"^^xsd:double .   }
Program:
function: Find
inputs: San Francisco
function: FilterNum
dependencies: 0
inputs: elevation above sea level
52 foot
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: metropolitan area
function: What
dependencies: 3
Answer: San Francisco Bay Area