Question: How is Cumbria related to Carlisle whose elevation above sea level is 28 metres?
Choices: had as last meal
located in or next to body of water
partially contains
relative
stated in
capital
official religion
discoverer or inventor
parent astronomical body
public holiday
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cumbria" . ?e_2 <pred:name> "Carlisle" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "28"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Cumbria
function: Find
inputs: Carlisle
function: FilterNum
dependencies: 1
inputs: elevation above sea level
28 metre
=
function: QueryRelation
dependencies: 0
2
Answer: capital