Question: What is the elevation (above sea level) of the city of New York which is the birthplace of Joseph Campbell (the one that has the religion Catholic Church)  ?
Choices:
1000 metre
3404 metre
65 metre
448 metre
95 foot
99 metre
177 metre
382 metre
137 metre
561 metre
Answer: 65 metre
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of New York" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Joseph Campbell" . ?e_1 <religion> ?e_2 . ?e_2 <pred:name> "Catholic Church" .  ?e <elevation_above_sea_level> ?pv .  }
Program:
function: Find
inputs: Catholic Church
function: Relate
dependencies: 0
inputs: religion
backward
function: Find
inputs: Joseph Campbell
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city of New York
function: QueryAttr
dependencies: 5
inputs: elevation above sea level