Question: What is the elevation above sea level of the capital of Saudi Arabia?
Choices:
239 metre
243 foot
1644 metre
448 metre
612 metre
192 metre
326 metre
235 metre
32 metre
1237 foot
Program:
function: Find
inputs: Saudi Arabia
function: Relate
dependencies: 0
inputs: capital of
backward
function: FilterConcept
dependencies: 1
inputs: capital
function: QueryAttr
dependencies: 2
inputs: elevation above sea level
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Saudi Arabia" .  ?e <elevation_above_sea_level> ?pv .  }
Answer: 612 metre