Question: What is the elevation (above sea level) for the U.S. city named after Odessa (the one that is the residence of Alexander Pushkin)?
Choices:
2405 metre
295 metre
886 foot
824 metre
884 metre
217 metre
327 metre
82 metre
1554 metre
108 foot
Answer: 884 metre
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Odessa" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> "Alexander Pushkin" .  ?e <elevation_above_sea_level> ?pv .  }
Program:
function: Find
inputs: Alexander Pushkin
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Odessa
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: QueryAttr
dependencies: 5
inputs: elevation above sea level