Question: Which part of city of Pennsylvania, located in Lehigh Count, has the highest elevation above sea level ?
Choices:
Wilkes-Barre
Erie
Philadelphia
Allentown
Chester
Johnstown
Pittsburgh
Bethlehem
York
Harrisburg
Program:
function: Find
inputs: Lehigh County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: city of Pennsylvania
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Lehigh County" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bethlehem